MCPcopy Index your code
hub / github.com/webpack/webpack-dev-server / setupWatchFiles

Method setupWatchFiles

lib/Server.js:1945–1953  ·  view source on GitHub ↗

* @private * @returns {Promise }

()

Source from the content-addressed store, hash-verified

1943 * @returns {Promise<void>}
1944 */
1945 async setupWatchFiles() {
1946 const watchFiles = /** @type {WatchFiles[]} */ (this.options.watchFiles);
1947
1948 if (watchFiles.length > 0) {
1949 for (const item of watchFiles) {
1950 await this.watchFiles(item.paths, item.options);
1951 }
1952 }
1953 }
1954
1955 /**
1956 * @private

Callers 1

initializeMethod · 0.95

Calls 1

watchFilesMethod · 0.95

Tested by

no test coverage detected