We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11a0f28 + ba3fc17 commit 1882b65Copy full SHA for 1882b65
content/recipes/hot-reload.md
@@ -41,7 +41,7 @@ module.exports = function (options, webpack) {
41
new webpack.WatchIgnorePlugin({
42
paths: [/\.js$/, /\.d\.ts$/],
43
}),
44
- new RunScriptWebpackPlugin({ name: options.output.filename }),
+ new RunScriptWebpackPlugin({ name: options.output.filename, autoRestart: false }),
45
],
46
};
47
@@ -129,7 +129,7 @@ module.exports = {
129
},
130
plugins: [
131
new webpack.HotModuleReplacementPlugin(),
132
- new RunScriptWebpackPlugin({ name: 'server.js' }),
+ new RunScriptWebpackPlugin({ name: 'server.js', autoRestart: false }),
133
134
output: {
135
path: path.join(__dirname, 'dist'),
0 commit comments