gulp-community / gulp-livereload

gulp plugin for livereload
768 stars 67 forks source link

undefined reloaded (filepath not defined) #102

Open CNSam opened 9 years ago

CNSam commented 9 years ago

Hi there,

I seem to have come across an issue, not sure if it's isolated to my own development though.

When I run 'gulp watch' and then make changes to my SCSS files I am receiving the following error:

[10:14:06] undefined reloaded.

I have run the task in debug and have the following output:

[10:14:58] Starting 'compile'...
[10:14:58] Finished 'compile' after 2.44 μs
[10:14:58] Starting 'refresh'...
  minilr:server param files +10s { files: [ undefined ] } undefined undefined [ undefined ]
  minilr:server Changed event (Files: ) +1ms
  minilr:server Reloading client ws0 (url: http://bouncy.dev/) +0ms
[10:14:58] undefined reloaded.
[10:14:58] Starting 'default'...
[10:14:58] Finished 'default' after 2.67 μs

Here is my gulpfile.js: https://gist.github.com/CNSam/e6873252023e03d23ef3

joepie91 commented 9 years ago

You're calling changed without an argument: https://gist.github.com/CNSam/e6873252023e03d23ef3#file-gulpfile-js-L250

This behaviour was changed in 3.x, and changed now requires an argument.

I'm not sure why this isn't listed in the upgrade notice. It really should be, as it breaks backwards compatibility.

leo commented 8 years ago

Hey, @CNSam ! Just wanted to let you know that I've created a standalone fork of this repo, since it doesn't seem to be maintained anymore. You can find it here.

So I might be a good idea to re-open this issue there.