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

How to watch for changes of static files? #74

Open
arichter83 opened this issue Jun 14, 2019 · 0 comments
Open

How to watch for changes of static files? #74

arichter83 opened this issue Jun 14, 2019 · 0 comments

Comments

@arichter83
Copy link

I have some static HTML files in /public - if I change a file, and reload the browser, the file is not updated. I need to restart the server or a bundle rebuild to get the new version.

I tried without success:

    devServer: {
      contentBase: ['./dist', './public'],
      watchContentBase: true,
      hot: true
    },
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

1 participant