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

app crash on file change #4

Open
weslleyaraujo opened this issue Jan 10, 2017 · 0 comments
Open

app crash on file change #4

weslleyaraujo opened this issue Jan 10, 2017 · 0 comments

Comments

@weslleyaraujo
Copy link

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
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