WordPress / wordcamp.org

WordCamps are casual, locally-organized conferences covering everything related to WordPress.
https://wordcamp.org
121 stars 65 forks source link

Configure Live Reload #107

Open iandunn opened 5 years ago

iandunn commented 5 years ago

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.

iandunn commented 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...

iandunn commented 4 years ago

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.

iandunn commented 4 years ago

This is working for me in JS now, but I think it'd also be nice to set it up for PHP.