Hi,
this worked fine 1 or 2 days ago but now all of a sudden it dosn't

var fs = require('fs');
fs.watch('serve/'+'favicon.ico', function (event, filename) 
{if(event==='change' && filename) console.log(filename);});

keeps throwing:
fs.js:837
    throw errnoException(errno, 'watch');
          ^
Error: watch ENOSPC
    at errnoException (fs.js:806:11)
    at FSWatcher.start (fs.js:837:11)
    at Object.fs.watch (fs.js:861:11)
    at Object.<anonymous> 
(/win-c/Users/Frederik/Downloads/!terminal/server.js:6:4)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)

I didn't update node since last time (it's 0.8.4)
and I'm definitely sure it worked last time I executed the script
the last change (after which it still worked) was moving the watched files 
to the subfolder serve/ but changing that back dosn't work either

googling didn't help either, I've tried that without luck

I'm under the impression that it should be right in front of my eyes but I 
can't see why it breaks

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to