Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

Previously, we used to delete the temporary emitted JS and map files. However this causes a problem in watch mode, as Webpack will not re-emit these deleted files during the next incremental re-build.

With this change we now delete the entire temporary directory when the process is being terminated instead of a file by file bases.

Closes #22395

@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Dec 17, 2021
@alan-agius4 alan-agius4 requested a review from clydin December 17, 2021 13:48
@alan-agius4 alan-agius4 requested review from dgp1130 and removed request for clydin January 10, 2022 18:36
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Jan 11, 2022
… in watch mode

Previously, we used to delete the temporary emitted JS and map files. However this causes a problem in watch mode, as Webpack will not re-emit these deleted files during the next incremental re-build.

With this change we now delete the entire temporary directory when the process is being terminated instead of a file by file bases.

Closes #22395
@dgp1130 dgp1130 merged commit 0d68ed5 into angular:master Jan 12, 2022
@alan-agius4 alan-agius4 deleted the localize-fails-watch- branch January 12, 2022 18:46
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Localized bundle generation fails if --watch flag is used

2 participants