Fix: win fs.watchFile error #15

merged 2 commits into from Jun 17, 2012


None yet

3 participants

piscis commented May 11, 2012

If I start my project in windows environment (Windows 7 64bit) I had this error.

$ node index.js
   info  - started
Activating CSS updater
watching c:\Users\pirsig\Documents\testpiler\style.css for changes

        throw e; // process.nextTick error, or 'error' event on first tick
Error: use api instead
    at Object.watchFile (fs.js:746:11)
    at JSManager._watch (c:\Users\pirsig\Documents\testpiler\node_modules\piler\lib\
    at JSManager.<anonymous> (c:\Users\pirsig\Documents\testpiler\node_modules\piler\lib\
    at HTTPServer.<anonymous> (c:\Users\pirsig\Documents\testpiler\node_modules\piler\lib\
    at HTTPServer.emit (events.js:88:20)
    at Array.0 (net.js:777:10)
    at EventEmitter._tickCallback (node.js:192:40)

I am also having this problem... +1 for this pull

@epeli epeli merged commit 24c14bb into epeli:master Jun 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment