Compare commits

...

3 Commits

Author SHA1 Message Date
386e4c07c6 1.0.11 2019-05-14 08:45:10 +02:00
82557c96d6 1.0.10 2019-05-13 18:54:06 +02:00
c94d89fa8a fix(core): update 2019-05-13 18:54:05 +02:00
3 changed files with 6 additions and 8 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "@gitzone/tswatch",
"version": "1.0.9",
"version": "1.0.11",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@gitzone/tswatch",
"version": "1.0.9",
"version": "1.0.11",
"private": false,
"description": "watch typescript projects during development",
"main": "dist/index.js",

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