arboleya / coffee-toaster

Minimalist build system for CoffeeScript.
114 stars 23 forks source link

Compiling with watch (-w) on Windows breaks #30

Closed svdgriendt closed 11 years ago

svdgriendt commented 12 years ago

When compiling with the -w flag, the process halts in the command line. As soon as a source file is edited, it shows the following error:

[modules]\coffee-toaster\lib\toaster.js:1
th"),g.item.geti

TypeError: cannot read property 'item' of null
  at __t.Builder.l.watch ([modules]\cofee-toaster\lib\toaster.js:1:15389)
  at __t.FnUtil.a.proxy ([modules]\lib\toaster.js:1:2633)
  at StatWatcher.__t.FsUtil.f.watch_file ([modules]\cofee-toaster\lib\toaster.js:1:4346)
  at StatWatcher.EventEmitter.emit (events.js:91:17)
  at StatWatcher._handle.onchange (fs.js:886:10)
arboleya commented 12 years ago

Hi Osore, sadly I dont have an easy windows machine to check it by now.

Anyway, I guess it's more a node-thing than a toaster-thing: https://github.com/joyent/node/issues/1358

arboleya commented 11 years ago

Fixed in 0.6.6, please update and let me know if something weird occurs. Thanks. http://github.com/serpentem/coffee-toaster