example icon indicating copy to clipboard operation
example copied to clipboard

Editing index.html should trigger hot reload

Open fdietze opened this issue 3 years ago • 2 comments

fdietze avatar Apr 18 '22 23:04 fdietze

I think, we just need to add the html and css folders to the webpack config here under extraWatchDirs (https://github.com/fun-stack/example/blob/master/webapp/webpack.config.dev.js#L7). Though, it needs to run webpack again. So that means you need to run webpack on watch, which we currently not do.

cornerman avatar Apr 19 '22 15:04 cornerman

I think the webpack devserver already takes care of the html bundling when it changes. So it might be simple.

fdietze avatar Apr 19 '22 17:04 fdietze