Skip to content

fix(ivy): recompile on template change in ngc watch mode on Windows - #34015

Closed
JoostK wants to merge 1 commit into
angular:masterfrom
JoostK:ngtsc-watch-templates
Closed

JoostK wants to merge 1 commit into
angular:masterfrom
JoostK:ngtsc-watch-templates

Conversation

@JoostK

@JoostK JoostK commented Nov 23, 2019

Copy link
Copy Markdown
Member

In #33551, a bug in ngc --watch mode was fixed so that a component is
recompiled when its template file is changed. Due to insufficient
normalization of files paths, this fix did not have the desired effect
on Windows.

Fixes #32869

@JoostK JoostK added type: bug/fix severity3: broken target: patch This PR is targeted for the next patch release area: compiler Issues related to `ngc`, Angular's template compiler labels Nov 23, 2019
@ngbot ngbot Bot modified the milestone: needsTriage Nov 23, 2019
@JoostK
JoostK force-pushed the ngtsc-watch-templates branch 2 times, most recently from 0ca421f to b714f5a Compare November 24, 2019 19:23
@JoostK

JoostK commented Nov 24, 2019

Copy link
Copy Markdown
Member Author

@stefanocke

Copy link
Copy Markdown

@JoostK , it works for me. :-)

@stefanocke

Copy link
Copy Markdown

Hello @JoostK , any chance to get it merged in the next RC? Thank you.

@JoostK

JoostK commented Dec 23, 2019

Copy link
Copy Markdown
Member Author

@stefanocke yeah, I can look into reviving this PR. There has been quite some work around incremental compilations and dependency tracking that conflicted heavily with this PR so it has gotten outdated.

@JoostK
JoostK force-pushed the ngtsc-watch-templates branch 3 times, most recently from baa7193 to c129137 Compare January 18, 2020 21:14
@JoostK
JoostK marked this pull request as ready for review January 18, 2020 21:42
@JoostK
JoostK requested review from a team January 18, 2020 21:42

@petebacondarwin petebacondarwin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor concern.
Thanks @JoostK !

@pullapprove
pullapprove Bot requested a review from devversion January 29, 2020 20:25
@JoostK
JoostK removed the request for review from devversion February 3, 2020 21:27
@pullapprove
pullapprove Bot requested a review from devversion February 3, 2020 21:27
@JoostK JoostK added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note action: presubmit The PR is in need of a google3 presubmit labels Feb 3, 2020
@JoostK

JoostK commented Feb 3, 2020

Copy link
Copy Markdown
Member Author

merge-assistance: Pete's review should be sufficient, I am code-owner of fw-compiler.

@devversion devversion left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the BUILD file update (for which pullapprove requested review from dev-infra)

In angular#33551, a bug in `ngc --watch` mode was fixed so that a component is
recompiled when its template file is changed. Due to insufficient
normalization of files paths, this fix did not have the desired effect
on Windows.

Fixes angular#32869
@JoostK
JoostK force-pushed the ngtsc-watch-templates branch from c129137 to d522f9f Compare February 3, 2020 21:46
@mhevery

mhevery commented Feb 4, 2020

Copy link
Copy Markdown
Contributor

presubmit

mhevery pushed a commit that referenced this pull request Feb 4, 2020
…34015)

In #33551, a bug in `ngc --watch` mode was fixed so that a component is
recompiled when its template file is changed. Due to insufficient
normalization of files paths, this fix did not have the desired effect
on Windows.

Fixes #32869

PR Close #34015
@mhevery mhevery closed this in 5cada5c Feb 4, 2020
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 Mar 6, 2020
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 action: presubmit The PR is in need of a google3 presubmit area: compiler Issues related to `ngc`, Angular's template compiler cla: yes merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release type: bug/fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ngc --watch ignores changes in templates (ivy, 9.0.0-next.8)

6 participants