After implement ampreact from your example app don't refresh itself after file changing!
Closed this issue · 5 comments
narek1993x commented
After implement ampreact from your example app don't refresh itself after file changing!
narek1993x commented
I also use in my app server!
dfrankland commented
Do you mean that the page on the browser doesn't refresh after changing some code?
narek1993x commented
Yes, you can try on your own boilerplate!
dfrankland commented
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.
narek1993x commented
Thank you