wp-reactivate
wp-reactivate copied to clipboard
IMPROVE: implement live reloading using browser-sync
Hi there,
I used your plugin to develop a React based plugin on WP. Excellent work btw, yours was the only build I found that was usable in integrating WP and React!
But I found that I had to refresh the page after each change in the plugin's React code, so I've implemented a basic version of live reloading using browser-sync.
Please let me know if this needs any improvements.
Regards.
Is this project dead? Seems like this PR would get some love if not...
Hey @DevinWalker,
It is a bit stale, I'm hoping to bring it inline with JS practices used in Gutenberg as well as support blocks. That said, this might happen under a different project as I will probably be dropping shortcodes and widgets.
Initially we were still deciding whether to implement this, as we were also looking at hot reloading and I guess it just fell by the wayside.
I'm locked down at the moment, but will try take a look at the end of next week.
If @asamolion can resolve the conflicts from the updated dependencies and regenerate the yarn.lock file then I'll merge as soon as I get the notification.
@dnusca it is a cool looking project. I agree on dropping shortcodes and widgets to support blocks. Would love to see a revival here!