gulp-community/gulp-livereload

Installing with npm 3 throws ENOENT

Opened this issue · 3 comments

This was working fine until I upgraded to npm 3. When I gulp watch, it starts listening, but as soon as I load the page that requests the livreload script, it throws this:

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open 'path/to/project/node_modules/tiny-lr/node_modules/livereload-js/dist/livereload.js'
    at Error (native)

Using tiny-lr from github instead of npm fixes this for now 0132beb

@phparkle @DarkPark I've submitted a PR with a more permanent solution.