fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-12 17:34:05 +02:00
parent e4ef6bad8f
commit d81d19008a
2 changed files with 1 additions and 5 deletions

View File

@ -4,10 +4,6 @@ import * as tswatch from '../ts/index';
let testTsWatchInstance: tswatch.TsWatch;
if (process.env.CI) {
process.exit(0);
}
tap.test('should create a valid TsWatch instance', async () => {
testTsWatchInstance = new tswatch.TsWatch('echoSomething');
});

View File

@ -74,7 +74,7 @@ export class TsWatch {
break;
case 'echoSomething':
const tsWatchInstanceEchoSomething = new Watcher({
filePathToWatch: paths.cwd,
filePathToWatch: plugins.path.join(paths.cwd, './ts'),
commandToExecute: 'npm -v',
timeout: null
});