Skip to content

Commit 911c006

Browse files
committed
fix: file watcher with chokidar
paulmillr/chokidar#1385
1 parent 00ba99a commit 911c006

File tree

3 files changed

+1136
-1232
lines changed

3 files changed

+1136
-1232
lines changed

lib/controllers/prepare-controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { watch, ChokidarOptions, FSWatcher } from "chokidar";
1+
import { watch, WatchOptions, FSWatcher } from "chokidar";
22
import { EventEmitter } from "events";
33
import * as _ from "lodash";
44
import * as path from "path";
@@ -353,7 +353,7 @@ export class PrepareController extends EventEmitter {
353353

354354
const patterns = await this.getWatcherPatterns(platformData, projectData);
355355

356-
const watcherOptions: ChokidarOptions = {
356+
const watcherOptions: WatchOptions = {
357357
ignoreInitial: true,
358358
cwd: projectData.projectDir,
359359
awaitWriteFinish: {

0 commit comments

Comments
 (0)