fix(TsWatch): Fix reloading issue for tsfolder changes in element mode.

This commit is contained in:
2024-12-04 23:14:36 +01:00
parent 0b8f3d317c
commit 5cd5085f05
3 changed files with 7 additions and 2 deletions

View File

@@ -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,
})