Open jmarca opened 8 years ago
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 https://github.com/bhauman/lein-figwheel/issues/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.
folder1
- folder2
becomes
folder1
- folder3
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.