gulp-livereload icon indicating copy to clipboard operation
gulp-livereload copied to clipboard

undefined reloaded (filepath not defined)

Open CNSam opened this issue 9 years ago • 2 comments

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

CNSam avatar Oct 19 '15 09:10 CNSam

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.

joepie91 avatar Oct 21 '15 12:10 joepie91

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.

leo avatar Feb 17 '16 13:02 leo