Merge pull request #7463 from vector-im/dbkr/disable_auto_reload

Disable webpack-dev-server auto reload
bwindels/fixnpmlinkinreadme
Bruno Windels 2018-10-05 15:00:23 +02:00 committed by GitHub
commit d4576dcf9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -163,6 +163,12 @@ module.exports = {
// don't fill the console up with a mahoosive list of modules
chunks: false,
},
// hot mdule replacement doesn't work (I think we'd need react-hot-reload?)
// so webpack-dev-server reloads the page on every update which is quite
// tedious in Riot since that can take a while.
hot: false,
inline: false,
},
};