creativetimofficial/vue-light-bootstrap-dashboard

how can i use `hotReload`

jybaek opened this issue · 1 comments

$ npm run dev

Can i use hotReload ? I thought I could fix the hotMiddleware in the dev-server.js (hot: true)

var hotMiddleware = require('webpack-hot-middleware')(compiler, {
  hot: true, // not working
  log: false,
  heartbeat: 2000
})

plz help me. thanks

sorry, in my mistake, it's working find. thanks.

var devMiddleware = require('webpack-dev-middleware')(compiler, {
  publicPath: webpackConfig.output.publicPath,
  hot: true,
  watchOptions: {
    aggregateTimeout: 300,
    poll: true
  },
  quiet: true
})