gruntjs / grunt-contrib-watch

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

grunt-contrib-watch with https localhost #539

Open ghost opened 7 years ago

ghost commented 7 years ago

I've tried many options and many alterations of code to get the above to work.

Basically I am running a localhost website I'm developing with https but have been using grunt-contrib-watch until I moved to https it worked. Now it has an issue with livereload.js being loaded over https.

I've tried to load the file manually in my index.html but this fails as Chrome doesn't want to load non-secure files into the browser of a self signed secure cert.

friday commented 7 years ago

The HTTPS options are ignored https://github.com/gruntjs/grunt-contrib-watch/issues/394

ghost commented 7 years ago

This is not a great start considering I wanted to work on Service Workers which require https