This avoids problems with live reloading in some environments.
@@ -63,6 +63,9 @@ const config: Configuration = {
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, PATCH, OPTIONS",
"Access-Control-Allow-Headers": "X-Requested-With, Content-Type, Authorization"
},
+ devMiddleware: {
+ writeToDisk: true,
+ },
plugins: [new ConsoleRemotePlugin()],
devtool: "source-map",