Skip to content

Commit e5cf9a3

Browse files
committed
fix: update after rebase
1 parent cb91f7a commit e5cf9a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/services/livesync/livesync-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as path from "path";
22
import * as choki from "chokidar";
33
import { EOL } from "os";
44
import { EventEmitter } from "events";
5-
import { hook, isBuildFromCLI } from "../../common/helpers";
5+
import { hook, isAllowedFinalFile } from "../../common/helpers";
66
import { PACKAGE_JSON_FILE_NAME, LiveSyncTrackActionNames, USER_INTERACTION_NEEDED_EVENT_NAME, DEBUGGER_ATTACHED_EVENT_NAME, DEBUGGER_DETACHED_EVENT_NAME, TrackActionNames } from "../../constants";
77
import { DeviceTypes, DeviceDiscoveryEventNames } from "../../common/constants";
88
import { cache } from "../../common/decorators";
@@ -666,7 +666,7 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
666666

667667
this.$logger.trace(`Chokidar raised event ${event} for ${filePath}.`);
668668

669-
if (!isBuildFromCLI(filePath)) {
669+
if (!isAllowedFinalFile(filePath)) {
670670
if (event === "add" || event === "addDir" || event === "change" /* <--- what to do when change event is raised ? */) {
671671
filesToSync.push(filePath);
672672
} else if (event === "unlink" || event === "unlinkDir") {

0 commit comments

Comments
 (0)