Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing index.html should trigger hot reload #99

Open
fdietze opened this issue Apr 18, 2022 · 2 comments
Open

Editing index.html should trigger hot reload #99

fdietze opened this issue Apr 18, 2022 · 2 comments

Comments

@fdietze
Copy link
Member

fdietze commented Apr 18, 2022

No description provided.

@fdietze fdietze changed the title Editiong index.html should trigger hot reload Editing index.html should trigger hot reload Apr 18, 2022
@cornerman
Copy link
Member

cornerman commented Apr 19, 2022

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.

@fdietze
Copy link
Member Author

fdietze commented Apr 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants