Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
webpack: Prevent Emacs file locks from crashing webpack-dev-server.
Anders Kaseorg035299d052ff
diff --git a/webpack.config.ts b/webpack.config.tsindex 2dd2c7d5f39..230bfabd8a7 100644--- a/webpack.config.ts+++ b/webpack.config.ts@@ -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 = {