Skip to content

esbuild doesn't watch for local library changes while running dev server #25569

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

Closed
1 task done
fdsafasd423dfsfdsa opened this issue Jul 21, 2023 · 4 comments
Closed
1 task done

Comments

@fdsafasd423dfsfdsa
Copy link

Command

serve

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

see #25322
see #25568
see #25011
see #25395

all issues are closed and the functionality does not work
when using "@angular-devkit/build-angular:browser" instead of "@angular-devkit/build-angular:browser-esbuild" everything works fine

Minimal Reproduction

see issues

Exception or Error

No response

Your Environment

Angular CLI: 16.1.5
Node: 18.17.0
Package Manager: npm 9.8.1
OS: win32 x64

Angular: 16.1.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.1601.5
@angular-devkit/build-angular      16.1.5
@angular-devkit/core               16.1.5
@angular-devkit/schematics         16.1.5
@angular/cdk                       16.1.5
@angular/cli                       16.1.5
@angular/flex-layout               14.0.0-beta.41
@angular/material                  16.1.5
@angular/material-moment-adapter   16.1.5
@schematics/angular                16.1.5
rxjs                               7.8.1
typescript                         5.1.6
zone.js                            0.13.1

Anything else relevant?

No response

@pascalmann
Copy link

In my Nx project, only the array files in the "styles" configuration (in build { options }) are not watched with esbuild.

An extra configuration should be to added to list files or folder to wacth.

@adsafawqew
Copy link

what additional configuration are you talking about?
I create a library according to https://angular.io/guide/creating-libraries

if the library works with "@angular-devkit/build-angular:browser", I expect it to work with "@angular-devkit/build-angular:browser-esbuild" as well

@alan-agius4
Copy link
Collaborator

Thanks for reporting this issue. Luckily, it has already been fixed in one of the recent releases. Please update to the most recent version to resolve the problem.

If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use ng new repro-app to create a new project where you reproduce the problem.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2023
@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 Sep 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants