Skip to content

Failure on File Deletions #12

Description

@vy

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions