You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned this repo as a template, and then I did the "npm run start" script then type a <h1>123123</h1> tag in index.html #root element, and saved the file but found nothing happened.
Expected behavior:
page should show the change right after I change and save index.html.
I found this bug in my own built boilerplate, too. so I came here to see if I can find any solution, but seems I am not lucky :(
The text was updated successfully, but these errors were encountered:
That was because my entry html template file is at root of folder, in your condition it must be watchFiles: ['src/*.html'] or watchFiles: ['src/**/*.html'].
Thanks for the correction.
mizok
changed the title
changing index.html when running dev server seems doesn't do anything, the page only show the change after pressing refresh button .
changing index.html when running dev server seems doing nothing, the page only show the change after pressing refresh button .
Jan 10, 2022
What happen?:
I cloned this repo as a template, and then I did the "npm run start" script then type a
<h1>123123</h1>
tag inindex.html
#root element, and saved the file but found nothing happened.Expected behavior:
page should show the change right after I change and save index.html.
I found this bug in my own built boilerplate, too. so I came here to see if I can find any solution, but seems I am not lucky :(
The text was updated successfully, but these errors were encountered: