arboleya / coffee-toaster

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

file deletion #37

Closed G3z closed 11 years ago

G3z commented 12 years ago

i have a file with dependency #<< utils/* and i removed the only file in there this is what happened.

fs.js:338
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory '/Users/g3z/Sites/flowments/src/utils/textUtil.coffee'
    at Object.fs.openSync (fs.js:338:18)
    at Object.fs.readFileSync (fs.js:182:15)
    at f.__t.Script.f.getinfo (/Users/g3z/.nvm/v0.8.9/lib/node_modules/coffee-toaster/lib/toaster.js:1:8364)
    at __t.Builder.l.watch (/Users/g3z/.nvm/v0.8.9/lib/node_modules/coffee-toaster/lib/toaster.js:1:15395)
    at __t.FnUtil.a.proxy (/Users/g3z/.nvm/v0.8.9/lib/node_modules/coffee-toaster/lib/toaster.js:1:2633)
    at StatWatcher.__t.FsUtil.f.watch_file (/Users/g3z/.nvm/v0.8.9/lib/node_modules/coffee-toaster/lib/toaster.js:1:4364)
    at StatWatcher.EventEmitter.emit (events.js:91:17)
    at StatWatcher._handle.onchange (fs.js:886:10)
Jackbook:flowments g3z$ toaster -wd
path.existsSync is now called `fs.existsSync`.

a second run noticed me with WARNING Nothing found inside 'utils/'*

I totally LOVE toaster BTW

arboleya commented 12 years ago

Hi, I was unable to reproduce this error. Which version are you using?

G3z commented 12 years ago

version 0.6.3 i was able to reproduce the bug while creating a new file and i made a small video: https://dl.dropbox.com/u/449279/toaster.mov

arboleya commented 12 years ago

Oh I see, so it's happening against new files and not deleted ones. I'll take a look, thank you.

G3z commented 12 years ago

same thing, when adding a new file or deleting one https://dl.dropbox.com/u/449279/toaster%202.mov

arboleya commented 12 years ago

Oh I see, shouldn't be a big deal, I'll probably release the fix to the new version, I'm putting the issue to the next milestone.

Thank you for the videos. :)

G3z commented 12 years ago

Thank YOU for your time. Toaster is absolutely lovely BTW

arboleya commented 11 years ago

Hi, have you updated to the latest version after this fix?

I was wondering if the fix was efficient, because another user have opened a similar issue (https://github.com/serpentem/coffee-toaster/issues/47).