wp-reactivate icon indicating copy to clipboard operation
wp-reactivate copied to clipboard

IMPROVE: implement live reloading using browser-sync

Open asamolion opened this issue 7 years ago • 4 comments

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.

asamolion avatar Jun 20 '18 01:06 asamolion

Is this project dead? Seems like this PR would get some love if not...

DevinWalker avatar Jul 11 '19 20:07 DevinWalker

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.

dnusca avatar Jul 12 '19 12:07 dnusca

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 avatar Jul 12 '19 12:07 dnusca

@dnusca it is a cool looking project. I agree on dropping shortcodes and widgets to support blocks. Would love to see a revival here!

DevinWalker avatar Jul 12 '19 23:07 DevinWalker