Skip to content


Subversion checkout URL

You can clone with
Download ZIP


After unwatch a file in the FileMonitor the watch doesn't work any more #104

darronschall opened this Issue · 1 comment

1 participant


Originally filed by gustavosaume on 2009-06-12T22:13:46

What steps will reproduce the problem?
1. Watch a file with FileMonitor
2. Delete or Move the file
3. The FileMonitor performs a unwatch
4. Paste again the file in the watching url

What is the expected output? What do you see instead?

FileMonitor should dispatch a File Create event, but instead nothing happens

Please use labels and text to provide additional information.

This happens because in the unwatch function the timer is not set to null,
so when the watch method is called again it doesn't adds the timer's
listener because the timer is not null and doesn't enter in the if where
the timer listener is set....

it's easily solved just by setting the timer to null in the unwatch method


Updated by mikechambers on 2009-09-21T04:46:18

Original ticket set owner to mikechambers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.