Skip to content

Commit

Permalink
Ignore .DS_Store file changes on Mac (#2473) (#2551)
Browse files Browse the repository at this point in the history
* Ignore .DS_Store file changes on Mac

https://github.com/paulmillr/chokidar#path-filtering

Resolves:
#2472

* Updated to ignored: '**/*.DS_Store'
  • Loading branch information
rosen-vladimirov authored Feb 16, 2017
1 parent 2b253ed commit 2fb92c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/livesync/livesync-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class LiveSyncService implements ILiveSyncService {
}
}

let watcher = choki.watch(pattern, { ignoreInitial: true, cwd: syncWorkingDirectory }).on("all", (event: string, filePath: string) => {
let watcher = choki.watch(pattern, { ignoreInitial: true, cwd: syncWorkingDirectory, ignored: '**/*.DS_Store' }).on("all", (event: string, filePath: string) => {
fiberBootstrap.run(() => {
that.$dispatcher.dispatch(() => (() => {
try {
Expand Down

0 comments on commit 2fb92c4

Please sign in to comment.