Skip to content

Commit eea1373

Browse files
feat(build): introduce cleanApp hook
Introduce a `cleanApp` hook which occurs whenever CLI needs to clean the app directory in `platforms`.
1 parent 0126afc commit eea1373

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/services/platform-service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
560560
return null;
561561
}
562562

563+
@helpers.hook('cleanApp')
563564
public async cleanDestinationApp(platformInfo: IPreparePlatformInfo): Promise<void> {
564565
await this.ensurePlatformInstalled(platformInfo.platform, platformInfo.platformTemplate, platformInfo.projectData, platformInfo.config);
565566

0 commit comments

Comments
 (0)