@@ -52,7 +52,7 @@ export class FoundryClient extends PluginClient {
5252 listenOnFoundryFolder ( ) {
5353 console . log ( 'Foundry out folder doesn\'t exist... waiting for the compilation.' )
5454 try {
55- if ( this . watcher ) this . watcher . close ( )
55+ if ( this . watcher ) this . watcher . close ( )
5656 this . watcher = chokidar . watch ( this . currentSharedFolder , { depth : 1 , ignorePermissionErrors : true , ignoreInitial : true } )
5757 // watch for new folders
5858 this . watcher . on ( 'addDir' , ( ) => {
@@ -126,7 +126,7 @@ export class FoundryClient extends PluginClient {
126126 this . logTimeout = setTimeout ( ( ) => {
127127 // @ts -ignore
128128 this . call ( 'terminal' , 'log' , { type : 'log' , value : `receiving compilation result from Foundry` } )
129- console . log ( 'Syncing compilation result from Foundry' )
129+ console . log ( 'Syncing compilation result from Foundry' )
130130 } , 1000 )
131131
132132 } catch ( e ) {
@@ -142,7 +142,7 @@ export class FoundryClient extends PluginClient {
142142
143143 listenOnFoundryCompilation ( ) {
144144 try {
145- if ( this . watcher ) this . watcher . close ( )
145+ if ( this . watcher ) this . watcher . close ( )
146146 this . watcher = chokidar . watch ( this . cachePath , { depth : 0 , ignorePermissionErrors : true , ignoreInitial : true } )
147147 this . watcher . on ( 'change' , async ( ) => await this . triggerProcessArtifact ( ) )
148148 this . watcher . on ( 'add' , async ( ) => await this . triggerProcessArtifact ( ) )
@@ -193,7 +193,6 @@ export class FoundryClient extends PluginClient {
193193 console . log ( '\x1b[32m%s\x1b[0m' , 'sources input not found, please update Foundry to the latest version.' )
194194 }
195195
196-
197196 compilationResultPart . compilationTarget = contentJSON . ast . absolutePath
198197 // extract data
199198 if ( ! compilationResultPart . output [ 'sources' ] [ contentJSON . ast . absolutePath ] ) compilationResultPart . output [ 'sources' ] [ contentJSON . ast . absolutePath ] = { }
0 commit comments