Skip to content

esbuild ng serve not watching html and css files outside project root #25395

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
atsjo opened this issue Jun 16, 2023 · 1 comment · Fixed by #25416
Closed
1 task

esbuild ng serve not watching html and css files outside project root #25395

atsjo opened this issue Jun 16, 2023 · 1 comment · Fixed by #25416

Comments

@atsjo
Copy link

atsjo commented Jun 16, 2023

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

This is a follow-up to #25011

16.1 fixed watching ts files, but it still doesn't pick up changes in html and css files in library components. It picks up the change if first changing html, then a dummy write to the component ts file, but changes to the html/css doesn't trigger re-generation itself.

Minimal Reproduction

#25011

Exception or Error

No response

Your Environment

Node   : 18.16.0
   OS     : win32 x64
   pnpm   : 8.6.2
   Hasher : Native
   
   nx                 : 16.3.2
   @nx/js             : 16.3.2
   @nx/jest           : 16.3.2
   @nx/linter         : 16.3.2
   @nx/workspace      : 16.3.2
   @nx/angular        : 16.3.2
   @nx/cypress        : 16.3.2
   @nx/devkit         : 16.3.2
   @nx/esbuild        : 16.3.2
   @nx/eslint-plugin  : 16.3.2
   @nrwl/tao          : 16.3.2
   @nx/webpack        : 16.3.2
   typescript         : 5.1.3

Anything else relevant?

No response

@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 Jul 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant