browser-refresh
browser-refresh copied to clipboard
Cannot find module index.js
This error pops up every time causing the server to restart on every refresh, but it still functions as expected. I'm thinking that a simple catch and ignore would solve this.
$ ./node_modules/browser-refresh/bin/browser-refresh
[browser-refresh] Watching: /Users/williamrusnack/Documents/make_faster
[browser-refresh] Ignore rule: *.DS_Store
[browser-refresh] Ignore rule: public/stylesheets/dst/*
[browser-refresh] App started (pid: 25827)
module.js:473
throw err;
^
Error: Cannot find module '/Users/williamrusnack/Documents/make_faster/index.js'
at Function.Module._resolveFilename (module.js:527:15)
at Function.Module._load (module.js:453:25)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:201:16)
at bootstrap_node.js:626:3
App stopped unexpectedly
[browser-refresh] Waited 1500ms without receiving "online" from child process. Page refresh triggered over WebSockets connection.
[browser-refresh] Triggering refresh of client pages...
[browser-refresh] Refresh triggered