pomelo-io / bounties-issues-dev

Dev repo for bounties
0 stars 0 forks source link

💰 0 USDT Bounty - "Loss of app rebuild on app change using ng 17 wi.." #144

Open PomeloBounties opened 6 months ago

PomeloBounties commented 6 months ago

Bounty

Loss of app rebuild on app change using ng 17 with esbuild+vite created by @SoA432 on Pomelo Bounties

Summary

Solve the loss of app rebuild on app change using ng 17 with esbuild+vite. Debug the issue and come up with a solution to fix the bug related to the file watcher not triggering app rebuilds. Test the solution with the demo app, using Playwright, to ensure that the app rebuilds when expected.

Apply

https://bounties.pomelo.io/141bec443ba3

Original Issue

https://github.com/angular/angular-cli/issues/26686

Title

Loss of app rebuild on app change using ng 17 with esbuild+vite

Body

Command

serve

Is this a regression?

The previous version in which this bug was not present was

No response

Description

App rebuild on code change stops working.

Minimal Reproduction

You can see the above behaviour demoed in this recording:

[!NOTE] Sometimes you might have to run the screenshot tests more than once, in this recorded demo the app rebuild only stopped on the second failed run.

https://github.com/angular/angular-cli/assets/15857357/63a0762e-c55b-4d80-85fa-a0e01ab8f73f

Exception or Error

No response

Your Environment

Angular CLI: 17.0.5
Node: 20.10.0
Package Manager: npm 10.2.5
OS: win32 x64
Angular: 17.0.5
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.5
@angular-devkit/build-angular   17.0.5
@angular-devkit/core            17.0.5
@angular-devkit/schematics      17.0.5
@angular/cdk                    17.0.2
@angular/material               17.0.2
@schematics/angular             17.0.5
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

Anything else relevant?

Unchanged output files: 3 Application bundle generation complete. [0.068 seconds]


- I initially thought this was related with `Playwright` so I first opened the issue at https://github.com/microsoft/playwright/issues/28632.
- I then thought this was related with #26633 and [I left a comment](https://github.com/angular/angular-cli/issues/26633#issuecomment-1858037467) there.

## Base Reward
**0.0500 USDT**

## Note
For technical discussion use the original issue. This issue is for tracking the bounty application and implementation progress.