gaze
gaze copied to clipboard
no matching with atom-shell
When used with atom-shell the this.relative
and this.watched
works but no events ever gets fired.
I'm using /User/path/to/folder/*.*
for minimatch. Trying to match any files inside the folder non-recursively.
Added never gets emitted. Already compiled the native modules with apm install .
gaze @location, (err, watcher) ->
watcher.on 'added', (filepath) ->
Log.info(filepath)
@on 'changed', self.changedHandler.bind @
@on 'deleted', self.deletedHandler.bind @
@watched (err, watched) ->
Log.debug(watched)
self.emit 'exist', watched[self.path]