Similarly to how I turn devel themer on/off, it would be nice to be able to toggle the livereload functionality on/off quickly.

I'll write a quick drush plugin that will allow that.

This is different than installing/uninstalling the module. It'll just toggle the include of the library on/off.

Comments

hydra’s picture

This sounds great, would love this!

chrisjlee’s picture

Could you just drush dis livereload?

minoroffense’s picture

You could but that's too long to type ;-)

Plus the length if time to trigger a module enable / disable and then of course you need the -y or you get prompted.

I'm imagining something like drush lrd or drush lre and that's it. No prompts or anything.

hydra’s picture

This could just change a variable on/off we would use to check of livereload is "on" or "off", which would be something else then enabled and disabled. I like the idea, I have often the usecase where I need to switch it off for just a testing moment :)