Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watcher does not trigger recompile on linked peerdependency changes #2695

Open
qualmon opened this issue Oct 4, 2023 · 0 comments
Open

Watcher does not trigger recompile on linked peerdependency changes #2695

qualmon opened this issue Oct 4, 2023 · 0 comments

Comments

@qualmon
Copy link

qualmon commented Oct 4, 2023

Type of Issue

[x] Bug Report
[ ] Feature Request

Description

I'm building an Angular library with ng build my-lib --watch but it does not watch things properly.
The Angular library my-lib is dependent on a peerdependency my-dep which is linked with npm link my-dep. But ng-packagr does not properly watch changes in my-dep.

How To Reproduce

  1. npm link your-dep
  2. ng build your-lib --watch
  3. Make changes to your-dep
  4. No recompile is triggered.

Expected Behaviour

I expect my-lib to recompile when I make changes in my-dep.

Version Information

ng-packagr:            15.2.2
@angular/compiler:     15.2.9
rollup:                3.25.3
typescript:            4.9.5
node:                  16.19.1
npm:                   8.19.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant