Commit ec76b20 1 parent f050def commit ec76b20 Copy full SHA for ec76b20
File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @filen/sync" ,
3
- "version" : " 0.1.100 " ,
3
+ "version" : " 0.1.101 " ,
4
4
"description" : " Filen Sync" ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export class Ignorer {
11
11
private sync : Sync
12
12
public instance = ignore ( )
13
13
public name : string = "ignorer"
14
- public pattern : string [ ] = [ ]
15
14
private readonly mutex = new Semaphore ( 1 )
16
15
17
16
public constructor ( sync : Sync , name : string = "ignorer" ) {
@@ -114,7 +113,6 @@ export class Ignorer {
114
113
. filter ( line => line . length > 0 )
115
114
}
116
115
117
- this . pattern = content
118
116
this . instance = ignore ( )
119
117
120
118
if ( content . length > 0 ) {
Original file line number Diff line number Diff line change @@ -367,6 +367,9 @@ export class Sync {
367
367
} )
368
368
} , 1000 )
369
369
370
+ // Init the ignorer on every run. We might have changes in the physical .filenignore file
371
+ await this . ignorer . initialize ( )
372
+
370
373
// eslint-disable-next-line prefer-const
371
374
let [ currentLocalTree , currentRemoteTree ] = await Promise . all ( [
372
375
this . localFileSystem . getDirectoryTree ( ) ,
You can’t perform that action at this time.
0 commit comments