We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853f7ca commit f5597e4Copy full SHA for f5597e4
lib/Server.js
@@ -320,7 +320,7 @@ class Server {
320
});
321
322
if (staticOption.watch) {
323
- this._watch(staticOption.directory, staticOption.watch);
+ this.watchFiles(staticOption.directory, staticOption.watch);
324
}
325
326
@@ -807,7 +807,7 @@ class Server {
807
808
809
810
- _watch(watchPath, watchOptions) {
+ watchFiles(watchPath, watchOptions) {
811
// duplicate the same massaging of options that watchpack performs
812
// https://github.com/webpack/watchpack/blob/master/lib/DirectoryWatcher.js#L49
813
// this isn't an elegant solution, but we'll improve it in the future
0 commit comments