Skip to content

Commit f4a6485

Browse files
committed
fix: missing progress, status. fixes #109
1 parent e311a75 commit f4a6485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/client/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
const run = (buildHash, options) => {
1313
const { address, client = {}, progress, secure, status } = options;
1414

15+
options.firstInstance = !window.webpackPluginServe; // eslint-disable-line no-param-reassign
16+
1517
window.webpackPluginServe = window.webpackPluginServe || {
1618
compilers: {}
1719
};
@@ -26,8 +28,6 @@ const run = (buildHash, options) => {
2628

2729
const { compilerName } = options;
2830

29-
options.firstInstance = !window.webpackPluginServe; // eslint-disable-line no-param-reassign
30-
3131
window.webpackPluginServe.compilers[compilerName] = {};
3232

3333
// prevents ECONNRESET errors on the server

0 commit comments

Comments
 (0)