mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
webpack: Prevent Emacs file locks from crashing webpack-dev-server.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -273,6 +273,13 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
|
||||
stats: "errors-only",
|
||||
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 = {
|
||||
|
Reference in New Issue
Block a user