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

Hot Reload doesn't work in linux #419

Closed
lesinlor opened this issue Mar 29, 2017 · 1 comment
Closed

Hot Reload doesn't work in linux #419

lesinlor opened this issue Mar 29, 2017 · 1 comment

Comments

@lesinlor
Copy link

lesinlor commented Mar 29, 2017

I run init npm i and npm run dev ,the hot reload doesn't work even i reload the website.Only i reload the server that will reload what i change in the code.
After i changed some codes in build/dev-server.js,hot reload run(line 26):

var devMiddleware = require('webpack-dev-middleware')(compiler, {
  publicPath: webpackConfig.output.publicPath,
  quiet: false,
  stats: {
    colors: true,
    chunks: false
  },
  watchOptions: { //Add Polling
    aggregateTimeout: 300,
    poll: 1000
  }
})

thanks

env:
system: ubuntu-14.04-amd64
node: v7.2.1/v.6.9.1
vue-cli: 2.5.1/2.8.1

@Toilal
Copy link

Toilal commented Apr 1, 2017

I think you should post this on the webpack template issue tracker => https://github.com/vuejs-templates/webpack/issues

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

3 participants