Skip to content

Commit c57de38

Browse files
rzubovkatallaxie
authored andcommitted
fix(helpers): isWebpackDevServer() fix for windows, issue PatrickJS#757 (PatrickJS#966)
Fix PatrickJS#757
1 parent 8bee13a commit c57de38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function hasProcessFlag(flag) {
1111
}
1212

1313
function isWebpackDevServer() {
14-
return process.argv[1] && !! (/webpack-dev-server$/.exec(process.argv[1]));
14+
return process.argv[1] && !! (/webpack-dev-server/.exec(process.argv[1]));
1515
}
1616

1717
function root(args) {

0 commit comments

Comments
 (0)