fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-12 18:09:41 +02:00
parent e4278ed270
commit f673e8577b

View File

@ -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(