Turn off HMR (#147)

This commit is contained in:
Steve Faulkner
2020-08-12 20:12:31 -05:00
committed by GitHub
parent b61a235bf6
commit c0ce637eec
3 changed files with 11 additions and 11 deletions

View File

@@ -219,7 +219,7 @@ module.exports = function(env = {}, argv = {}) {
// Hack since it is hard to disable watch entirely with webpack dev server https://github.com/webpack/webpack-dev-server/issues/1251#issuecomment-654240734
watchOptions: isCI ? { poll: 24 * 60 * 60 * 1000 } : {},
devServer: {
hot: !isCI,
hot: false,
inline: !isCI,
liveReload: !isCI,
https: true,