gaze icon indicating copy to clipboard operation
gaze copied to clipboard

no matching with atom-shell

Open majimboo opened this issue 10 years ago • 1 comments

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.

majimboo avatar Jul 28 '14 06:07 majimboo

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]

majimboo avatar Jul 28 '14 06:07 majimboo