* @private * @returns {Promise }
()
| 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 |