fix(core): update

This commit is contained in:
Philipp Kunz 2019-05-13 18:54:05 +02:00
parent 639a5eebea
commit c94d89fa8a

View File

@ -18,20 +18,18 @@ export class TsWatch {
public async start() {
switch (this.watchmode) {
case 'test':
const tsWatchInstanceTest = new Watcher({
this.watcherMap.add(new Watcher({
filePathToWatch: paths.cwd,
commandToExecute: 'npm run test2',
timeout: null
});
this.watcherMap.add(tsWatchInstanceTest);
}));
break;
case 'gitzone_npm':
const tsWatchInstanceGitzoneNpm = new Watcher({
this.watcherMap.add(new Watcher({
filePathToWatch: paths.cwd,
commandToExecute: 'npm run test',
timeout: null
});
this.watcherMap.add(tsWatchInstanceGitzoneNpm);
}));
break;
case 'gitzone_website':
// server directory