Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch fileset tmpdirs for changed namespaces instead of :source-dirs #16

Open
martinklepsch opened this issue Oct 27, 2015 · 2 comments

Comments

@martinklepsch
Copy link
Owner

Also, if input-directories are watched, it's possible that ns-tracker will see some namespaces as changed before the change is synchronized to Boot temp dir and thus classpath.

via pandeiro/boot-http#27 (comment)

@yeehaa123
Copy link

Hi Martin,

I would love to help out and fix this issue (running into it...). Could you maybe give me some hints on how to get started?

Cheers,

JH

@martinklepsch
Copy link
Owner Author

@yeehaa123 sure. So basically what we're doing is we pass the value of :source-paths to our namespace tracking pod (line 41). Because these directories are not actually on the classpath and files are synced with a small delay the mentioned error can happen.

What we now need to do is to track namespaces in the directories that are actually on the classpath. I think a good way to get those directories might be user-dirs (api docs).

Hope this gets you going, good luck! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants