fix(core): update
This commit is contained in:
parent
639a5eebea
commit
c94d89fa8a
@ -18,20 +18,18 @@ export class TsWatch {
|
|||||||
public async start() {
|
public async start() {
|
||||||
switch (this.watchmode) {
|
switch (this.watchmode) {
|
||||||
case 'test':
|
case 'test':
|
||||||
const tsWatchInstanceTest = new Watcher({
|
this.watcherMap.add(new Watcher({
|
||||||
filePathToWatch: paths.cwd,
|
filePathToWatch: paths.cwd,
|
||||||
commandToExecute: 'npm run test2',
|
commandToExecute: 'npm run test2',
|
||||||
timeout: null
|
timeout: null
|
||||||
});
|
}));
|
||||||
this.watcherMap.add(tsWatchInstanceTest);
|
|
||||||
break;
|
break;
|
||||||
case 'gitzone_npm':
|
case 'gitzone_npm':
|
||||||
const tsWatchInstanceGitzoneNpm = new Watcher({
|
this.watcherMap.add(new Watcher({
|
||||||
filePathToWatch: paths.cwd,
|
filePathToWatch: paths.cwd,
|
||||||
commandToExecute: 'npm run test',
|
commandToExecute: 'npm run test',
|
||||||
timeout: null
|
timeout: null
|
||||||
});
|
}));
|
||||||
this.watcherMap.add(tsWatchInstanceGitzoneNpm);
|
|
||||||
break;
|
break;
|
||||||
case 'gitzone_website':
|
case 'gitzone_website':
|
||||||
// server directory
|
// server directory
|
||||||
|
Loading…
Reference in New Issue
Block a user