mirror of https://github.com/zulip/zulip.git
webpack: Prevent Emacs file locks from crashing webpack-dev-server.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
d74266ac75
commit
035299d052
|
@ -273,6 +273,13 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
|
||||||
stats: "errors-only",
|
stats: "errors-only",
|
||||||
noInfo: true,
|
noInfo: true,
|
||||||
},
|
},
|
||||||
|
watchOptions: {
|
||||||
|
ignored: [
|
||||||
|
// Prevent Emacs file locks from crashing webpack-dev-server
|
||||||
|
// https://github.com/webpack/webpack-dev-server/issues/2821
|
||||||
|
"**/.#*",
|
||||||
|
],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const serverConfig: webpack.Configuration = {
|
const serverConfig: webpack.Configuration = {
|
||||||
|
|
Loading…
Reference in New Issue