Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 6087ab4

Browse files
authored
Merge pull request #128 from JokerDan/issue/83
Resolve #83 - Unresponsive CLI for Windows, resolve webpack deprecation warning
2 parents 9258b8e + c20a18a commit 6087ab4

File tree

3 files changed

+1192
-1293
lines changed

3 files changed

+1192
-1293
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"html-webpack-plugin": "^3.2.0",
7979
"import-cwd": "3.0.0",
8080
"meow": "5.0.0",
81-
"ora": "4.0.2",
81+
"ora": "4.0.3",
8282
"semver": "^6.3.0"
8383
}
8484
}

scripts/index.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,12 @@ fs.emptyDir(paths.appBuild)
114114

115115
return new Promise((resolve, reject) => {
116116
const webpackCompiler = webpack(config);
117-
webpackCompiler.apply(
118-
new webpack.ProgressPlugin(() => {
119-
if (!inProgress) {
120-
spinner.start('Start webpack watch');
121-
inProgress = true;
122-
}
123-
})
124-
);
117+
new webpack.ProgressPlugin(() => {
118+
if (!inProgress) {
119+
spinner.start('Start webpack watch');
120+
inProgress = true;
121+
}
122+
}).apply(webpackCompiler);
125123

126124
webpackCompiler.watch({}, (err, stats) => {
127125
if (err) {

0 commit comments

Comments
 (0)