fix(TsWatch): Fix reloading issue for tsfolder changes in element mode.
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tswatch',
|
||||
version: '2.0.33',
|
||||
version: '2.0.34',
|
||||
description: 'watch typescript projects during development'
|
||||
}
|
||||
|
@ -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