Open iandunn opened 5 years ago
Ugh, like with all js build tooling, this is much more complicated than it should be :(
Gonna close in favor of #71...
This is still broken, even though we're using wp-scripts
now. I think it's b/c the Firefox browser extension injects the script via HTTP, but we use HTTPS, so there's a same-origin conflict.
https://github.com/twolfson/livereload-extensions/issues/2
Re-opening so we don't lose track of it, and in case there's something we can do on our end. May need to wait for an upstream fix though.
This is working for me in JS now, but I think it'd also be nice to set it up for PHP.
wp-scripts
sets it up automatically, so moving to it would do this, and be really nice.If that's not possible/easy, though, then we can probably just copy/paste what they've done into our custom config.
Related #47
Side note: Live Reload - Web Extension looks like the closest thing to an official extension for Firefox.