Skip to content

Commit 11fc089

Browse files
roblav96Plamen5kov
authored andcommitted
Ignore .DS_Store file changes on Mac (#2473)
* Ignore .DS_Store file changes on Mac ### chokidar#path-filtering https://github.com/paulmillr/chokidar#path-filtering Resolves: #2472 * Updated to ignored: '**/*.DS_Store'
1 parent 4f19063 commit 11fc089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/livesync/livesync-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class LiveSyncService implements ILiveSyncService {
119119
private partialSync(syncWorkingDirectory: string, onChangedActions: ((event: string, filePath: string, dispatcher: IFutureDispatcher) => Promise<void>)[]): void {
120120
let that = this;
121121
let pattern = ["app", "package.json", "node_modules"];
122-
let watcher = choki.watch(pattern, { ignoreInitial: true, cwd: syncWorkingDirectory }).on("all", (event: string, filePath: string) => {
122+
let watcher = choki.watch(pattern, { ignoreInitial: true, cwd: syncWorkingDirectory, ignored: '**/*.DS_Store' }).on("all", (event: string, filePath: string) => {
123123
that.$dispatcher.dispatch(async () => {
124124
try {
125125
filePath = path.join(syncWorkingDirectory, filePath);

0 commit comments

Comments
 (0)