Skip to content

Commit 23f3654

Browse files
committed
Use applyOptionsCallback
1 parent bc49419 commit 23f3654

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/config-generator.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,10 @@ class ConfigGenerator {
531531
ignored: /node_modules/
532532
};
533533

534-
this.webpackConfig.watchOptionsConfigurationCallback(watchOptions);
535-
536-
return watchOptions;
534+
return applyOptionsCallback(
535+
this.webpackConfig.watchOptionsConfigurationCallback,
536+
watchOptions
537+
);
537538
}
538539

539540
buildDevServerConfig() {

0 commit comments

Comments
 (0)