You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying tempdirs branch, I have problems with file watching. It seems that syncing files from source dirs to tempdirs is working but watch-task is broken. For some reason the watch-key is invalid.
Watch-service doesn't have any real changes on tempdirs branch so it could be that problem exists in master but is only triggered by something on tempdirs branch.
A watch key is created when a watchable object is registered with a watch service. The key remains valid until:
- It is cancelled, explicitly, by invoking its cancel method, or
- Cancelled implicitly, because the object is no longer accessible, or
- By closing the watch service.
I've been trying to debug this and I'm quite confident I have checked that none of those things are happening. I have added some debug prints to boot code and I have checked that
isValid is called right after retrieving it from watchService so there is no chance of cancel being called?
What should be the next steps in resolving this?
Can anyone else reproduce this? https://github.com/Deraen/boot-cljx/tree/tempdirs and running boot dev should print "watch service: invalid watch key"
If needed I think I could create virtualbox image to test this (or Vagrant script which can be used to create the image).
The text was updated successfully, but these errors were encountered:
Hi,
When trying tempdirs branch, I have problems with file watching. It seems that syncing files from source dirs to tempdirs is working but watch-task is broken. For some reason the watch-key is invalid.
Watch-service doesn't have any real changes on tempdirs branch so it could be that problem exists in master but is only triggered by something on tempdirs branch.
I've been trying to debug this and I'm quite confident I have checked that none of those things are happening. I have added some debug prints to boot code and I have checked that
What should be the next steps in resolving this?
Can anyone else reproduce this? https://github.com/Deraen/boot-cljx/tree/tempdirs and running
boot dev
should print "watch service: invalid watch key"If needed I think I could create virtualbox image to test this (or Vagrant script which can be used to create the image).
The text was updated successfully, but these errors were encountered: