Closed xXTurnerLP closed 1 year ago
Issue is you need a trailing slash \
I'm unable to reproduce it. How are you editing the file?
Im editing the file via normal notepad and im extending a class with FileWatchListener
EDIT: Also i was using directory as the current dir ie. .
and only .
did not work, however .\
worked
It should be fixed, it only could happen with .
as a parameter given an incorrect check when adding automatically the \
. Thanks for reporting it.
In windows (using the platform specific listener) when a file (lets call it file A) is changed and later changed again it will not fire an event, however if you change another file (lets call it file B) and after that change file A it will fire an event.
It seems the last modified file is "remembered"
Here are a couple scenarios: edit file A -> fire event edit file A -> nothing edit file A -> nothing
edit file A -> fire event edit file B -> fire event edit file A -> fire event edit file B -> fire event
edit file A -> fire event edit file B -> fire event edit file A -> fire event edit file A -> nothing edit file B -> fire event edit file B -> nothing