fix(core): update

This commit is contained in:
2022-08-03 20:03:15 +02:00
parent 64a31e9812
commit a53b9f9aa6
4 changed files with 624 additions and 814 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@gitzone/tswatch',
version: '2.0.2',
version: '2.0.3',
description: 'watch typescript projects during development'
}

View File

@ -7,6 +7,9 @@ import { TsWatch } from './tswatch.classes.tswatch.js';
const tswatchCli = new plugins.smartcli.Smartcli();
// standard behaviour will assume gitzone setup
tswatchCli.standardCommand().subscribe((argvArg => {
tswatchCli.triggerCommand('npm', {});
}))
tswatchCli.addCommand('element').subscribe(async (argvArg) => {
logger.log('info', `running watch task for a gitzone element project`);