fix(core): update
This commit is contained in:
@ -2,4 +2,4 @@ import * as early from '@pushrocks/early';
|
||||
early.start('tswatch');
|
||||
export * from './tswatch.classes.tswatch';
|
||||
import './tswatch.cli';
|
||||
early.stop();
|
||||
early.stop();
|
||||
|
@ -31,7 +31,7 @@ export class TsWatch {
|
||||
const changeObservable = await this.watcher.getObservableFor('change');
|
||||
changeObservable.subscribe(() => {
|
||||
this.updateCurrentExecution();
|
||||
})
|
||||
});
|
||||
this.updateCurrentExecution();
|
||||
}
|
||||
|
||||
@ -39,7 +39,9 @@ export class TsWatch {
|
||||
if (this.currentExecution) {
|
||||
process.kill(-this.currentExecution.childProcess.pid);
|
||||
}
|
||||
this.currentExecution = await this.smartshellInstance.execStreaming(this.options.commandToExecute);
|
||||
this.currentExecution = await this.smartshellInstance.execStreaming(
|
||||
this.options.commandToExecute
|
||||
);
|
||||
this.currentExecution = null;
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@ export const logger = new plugins.smartlog.Smartlog({
|
||||
company: 'Some Company',
|
||||
companyunit: 'Some CompanyUnit',
|
||||
containerName: 'Some Containername',
|
||||
environment: "local",
|
||||
environment: 'local',
|
||||
runtime: 'node',
|
||||
zone: 'gitzone'
|
||||
},
|
||||
|
@ -9,4 +9,4 @@ import * as smartlog from '@pushrocks/smartlog';
|
||||
import * as smartlogDestinationLocal from '@pushrocks/smartlog-destination-local';
|
||||
import * as smartshell from '@pushrocks/smartshell';
|
||||
|
||||
export { smartchok, smartcli, smartdelay, smartlog, smartlogDestinationLocal, smartshell, };
|
||||
export { smartchok, smartcli, smartdelay, smartlog, smartlogDestinationLocal, smartshell };
|
||||
|
Reference in New Issue
Block a user