fix(core): update
This commit is contained in:
parent
e4278ed270
commit
f673e8577b
@ -36,10 +36,11 @@ export class TsWatch {
|
|||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case 'gitzone_element':
|
case 'gitzone_element':
|
||||||
|
// lets create a standard server
|
||||||
const smartserve = new plugins.smartserve.SmartServe({
|
const smartserve = new plugins.smartserve.SmartServe({
|
||||||
port: 3001,
|
port: 3001,
|
||||||
injectReload: true,
|
injectReload: true,
|
||||||
serveDir: './dist_web/'
|
serveDir: plugins.path.join(paths.cwd, './dist_web/')
|
||||||
});
|
});
|
||||||
await smartserve.start();
|
await smartserve.start();
|
||||||
this.watcherMap.add(
|
this.watcherMap.add(
|
||||||
|
Loading…
Reference in New Issue
Block a user