Closed Madd0g closed 7 years ago
You need to accept the hot updates. See the webpack docs for that, but you can already try by putting
if (module.hot) {
module.hot.accept()
}
in your script
I'll close this one, just comment if that didn't work…
I just tried using this for the first time with a very simple node project.
I copied this config from somewhere:
I run this with
npm run server
and it is:It's building and everything seems right, but when I save a file, it outputs a few normal looking lines, but then it says "aborted because /folder/file.js is not accepted" from
hotApply
inside webpack.Any idea what I'm doing wrong?
Thanks