Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure on File Deletions #12

Open
vy opened this issue Sep 12, 2012 · 0 comments
Open

Failure on File Deletions #12

vy opened this issue Sep 12, 2012 · 0 comments

Comments

@vy
Copy link

vy commented Sep 12, 2012

While running webc as follows,

$ cd src
$ ../node_modules/webc/bin/webc watch -o ../out
path.exists is now called `fs.exists`.
Compiled files to /home/vy/web/CheckList/src/../out
Watching for changes...
path.existsSync is now called `fs.existsSync`.
Deleting: /home/vy/web/CheckList/src/jade/main.jade___jb_bak___
Processing: /home/vy/web/CheckList/src/jade/main.jade
...

removal of src/html (which requires no compilation at all) chokes webc:

fs.js:520
  return binding.lstat(pathModule._makeLong(path));
                 ^
Error: ENOENT, no such file or directory '/home/vy/web/CheckList/src/html/main.html'
    at Object.fs.lstatSync (fs.js:520:18)
    at FSWatcher.<anonymous> (/home/vy/web/CheckList/node_modules/webc/lib/webc.js:44:26)
    at FSWatcher.EventEmitter.emit (events.js:91:17)
    at FSEvent._handle.onchange (fs.js:826:12)

... and webc quits. (webc 0.1.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant