fix(TsWatch): Fix reloading issue for tsfolder changes in element mode.
This commit is contained in:
@@ -93,7 +93,7 @@ export class TsWatch {
|
||||
functionToCall: async () => {
|
||||
logger.log('info', `building ${tsfolder}`);
|
||||
await smartshellInstance.exec(`(cd ${paths.cwd} && npm run build)`);
|
||||
await this.typedserver.reload();
|
||||
await bundleAndReloadElement();
|
||||
},
|
||||
timeout: null,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user