gruntjs / grunt-contrib-watch

Run tasks whenever watched files change.
http://gruntjs.com/
MIT License
1.98k stars 356 forks source link

LiveReload protocol error #488

Open bennycode opened 8 years ago

bennycode commented 8 years ago

When working with grunt-contrib-watch and the option livereload set to true I am getting the following error from time to time:

LiveReload protocol error (invalid command 'reload', only valid commands are: hello)) 
after receiving data: 
{"command":"reload","path":"demo\\index.html","liveCss":true,"liveJs":true,"liveImg":true}

Live-reload works fine when starting my development server but after saving the same file 3x or 4x it comes to the error shown above. What can I do about it?

AElmoznino commented 8 years ago

@bennyn I have the same problem, did you find a good solution to it yet?

NZMia commented 7 years ago

@bennyn I have the same problem too? did you find why this error came out? by the way, I use gulp --watch