dfrankland/ampreact

After implement ampreact from your example app don't refresh itself after file changing!

Closed this issue · 5 comments

After implement ampreact from your example app don't refresh itself after file changing!

I also use in my app server!

Do you mean that the page on the browser doesn't refresh after changing some code?

Yes, you can try on your own boilerplate!

AMPHTML doesn't support arbitrary JavaScript, so adding hot-reloading or reloading is not valid. Because of that ampreact is server-side only. It is possible to add reloading though using something like browser sync, but it should only be done for development since it will be invalid AMPHTML.

Thank you