You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agreed. grunt-contrib-connect handles the libreload attribute different than libreload.js. grunt-contrib-connect always expects a number. But it should accept either a number or an object.
To get libreload working on https on an alternate port, I patched my local copy near TODO comment at line 135 of /tasks/connect.js with
var port = (typeof options.livereload === 'object' && options.livereload.port) ? options.livereload.port : livereload;
middleware.unshift(injectLiveReload({port: port }));
Hello,
I need specify a new src to livereload script loaded from my page to use a proxy.
Reading the livereload documentation I see that is possible, but from grunt-contrib-connect options It's not possible.
My sugestion is change the conditions to receive complete livereload options too if it is passed.
Example:
ps: Sorry my english is very bad!
The text was updated successfully, but these errors were encountered: