-
Notifications
You must be signed in to change notification settings - Fork 12k
esbuild ng serve not watching files outside project root #25011
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
Comments
I have this problem, too, with Angular 16.0.0 (final release). All changes to Nx libs are complety ignored, even after an explicit reload. |
Also problem when using nx monorepo, when you change and code in libs, no rebuild / not watched. nrwl/nx#16824 |
That issue is blocker for migrating to esbuild |
Same, using nx and angular 16 release. More or less all code is in libraries in the monorepo, so not usable for dev in such scenarios... |
I also have same issue. I have |
Also running into this with an Nx monorepo. Can confirm it does not work with stuff outside app dir but does for code within app dir. |
same issue here |
with each new version you break the basic functionalities. do you even test and/or use what you make? |
@dick2tick, the esbuilder is still experimental and thus it is not yet feature complete. |
smart developer: I made a great car, the color is great, the comfort is great, everything is great; you can try it from v16 |
Currently the watcher adds the angular-cli/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts Line 662 in 77f21c1
|
This doesn't seem excessively complex to add, @clydin I assuming this is already in the works though and theres no need for a community PR for this? |
I test that feature, it's still not working. Watcher not checking tsconfig |
in 16.1 it works for .ts files, but still not for html or css in libraries... |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Command
serve
Is this a regression?
The previous version in which this bug was not present was
v16.0.0-next.7
Description
Using nx workspace style project where app is in
apps/some-app
and it imports code from projects insideprojects/some-project
. When i useng serve some-app
with esbuild, changes inprojects/some-project
does not trigger reload.The code in
project/some-project
is reference usingtsconfig.json
paths
.This used to work in v16.0.0-next.7 and with webpack based ng serve
Minimal Reproduction
ng serve
with esbuild for the applicationException or Error
No response
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: