Closed Guria closed 8 years ago
Having the same issue.
Same issue here.
Love the Boilerplate. Thanx
You should propably run "webpack" once in project directory to create dist/index.html
Has anyone figured this out?
Hello? Anybody?
output: {
path: path.join(__dirname, '/dist/'),
filename: 'bundle.js',
publicPath: '/'
}
:+1: yes, just run a webpack
to create the files in the dist/ and then you should be good to go.
@jgog I noticed that at least for me, I had to change the webpack config filename too for hot loading to work - just running webpack
made the ENOENT error message to disappear but made further changes to files not to hotload. Did you notice anything similar?
I left the config as it is, ran webpack
and then ran npm run start
but with that the reloading did not work. So I went into the dist/ and deleted the main.js and the reloading also started to work.
Hi guys,
What is the status here now? Should we change something in the boilerplate to avoid this confusion? I have not met the issue myself.
I don't think any change is required in the boilerplate.
cool :-)
Sometimes console logs out
Error: ENOENT, stat '/home/ubuntu/workspace/dist/index.html'