-
Notifications
You must be signed in to change notification settings - Fork 16
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
recursive works on creating a watcher, but not for new directory additions #16
Comments
Hey, sorry about the late response. I like to think I'll have some time to review this afternoon. Thanks for the bug report! |
I'd like to upvote this. |
Hey, sorry folks, and thanks @bhauman for the poke. I've been fairly busy with my day job, but I'm taking a look right now. |
il xref this bhauman/lein-figwheel#496 |
Hey folks, would you mind giving 0.2.11 a shot to make sure it resolves your issue? If not, I'll reopen. Thanks for your patience. 😅 |
@wkf This works for the most part. If you mv a folder though it does not watch it. |
@vans163 did you mv a folder from outside your watch folder inside your watch folder, or did you move a folder that was previously being watched? |
previously watched. same folder. So folder1 and folder2 is watched currently.
becomes
New/saved files in folder3 now are not tracked. Not sure if I checked moving from outside a watched folder into one. (that should be checked too) |
Hi, just playing around with hawk, learning clojure, etc.
I noticed that if I add a directory, the watcher previously set no longer watches the new directory
For example, if I do:
and do:
I see in the repl:
But then when I do:
I see nothing in the repl.
If I restart the watcher, it will see the 1.jpg addition:
So one fix from my end is to just check if the addition is a directory, and if it is, then toggle my watcher off and on. I also read in one of the other directory watching implementations that there is some sort of bug with recursively watching new directories, so actually fixing this within hawk is likely well beyond my freshly-minted clojure skill.
The text was updated successfully, but these errors were encountered: