live-coding icon indicating copy to clipboard operation
live-coding copied to clipboard

app crash on file change

Open weslleyaraujo opened this issue 9 years ago • 0 comments

I am getting the following error whenever file change is detected:

live-coding

Error

Serving src/index.js on http://localhost:3030/
fs.js:634
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'src/index.js'
    at Error (native)
    at Object.fs.openSync (fs.js:634:18)
    at Object.fs.readFileSync (fs.js:502:33)
    at getSnapshot (/usr/local/lib/node_modules/live-coding/index.js:40:17)
    at FSWatcher.<anonymous> (/usr/local/lib/node_modules/live-coding/index.js:53:17)
    at emitTwo (events.js:106:13)
    at FSWatcher.emit (events.js:191:7)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1406:12)

npm

npm -v
3.9.3

node

node -v
v6.2.1

weslleyaraujo avatar Jan 10 '17 07:01 weslleyaraujo