You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gaze('**/*',function(err,watcher){// On file changedthis.on('changed',function(filepath){console.log(filepath+' was changed');});// On file addedthis.on('added',function(filepath){console.log(filepath+' was added');});// // On file deletedthis.on('deleted',function(filepath){console.log(filepath+' was deleted');});});
But it only works if I update an existing file like a.js
touch a.js
not when I add b.js or remove an existing file a.js
touch b.js
rm a.js
node v0.11.8
but OSX 10.6.8
I try the same code on a Mountain Lion, and everything is OK
gaze is not supposed to works with an old OS ?
The text was updated successfully, but these errors were encountered:
Odd versions of node are unstable development versions. Please try with a stable version of node, ie: v0.10.22.
As to OSX 10.6, I'd rather not support such an old version. So if there is an issue, I'd be happy to take a patch with tests that show the error on OSX 10.6 but I personally won't be hunting down issues on OSX 10.6 anymore. Thanks!
Hi,
I just try your sample file, slightly modified:
But it only works if I update an existing file like
a.js
not when I add
b.js
or remove an existing filea.js
node v0.11.8
but OSX 10.6.8
I try the same code on a Mountain Lion, and everything is OK
gaze is not supposed to works with an old OS ?
The text was updated successfully, but these errors were encountered: