Compare commits

..

6 Commits

Author SHA1 Message Date
21b962b9a8 1.0.28 2019-10-12 18:09:42 +02:00
f673e8577b fix(core): update 2019-10-12 18:09:41 +02:00
e4278ed270 1.0.27 2019-10-12 17:43:44 +02:00
8ae0f960ac fix(core): update 2019-10-12 17:43:43 +02:00
c9a3b996cb 1.0.26 2019-10-12 17:34:05 +02:00
d81d19008a fix(core): update 2019-10-12 17:34:05 +02:00
4 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.25",
"version": "1.0.28",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

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

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

@@ -36,9 +36,11 @@ export class TsWatch {
);
break;
case 'gitzone_element':
// lets create a standard server
const smartserve = new plugins.smartserve.SmartServe({
port: 3001,
injectReload: true,
serveDir: './dist_web/'
serveDir: plugins.path.join(paths.cwd, './dist_web/')
});
await smartserve.start();
this.watcherMap.add(
@@ -74,7 +76,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
});