Title: feat(@angular/build): add opt-in manual rebuild mode to the dev-server by fhackenberger · Pull Request #33330 · angular/angular-cli · GitHub
Open Graph Title: feat(@angular/build): add opt-in manual rebuild mode to the dev-server by fhackenberger · Pull Request #33330 · angular/angular-cli
X Title: feat(@angular/build): add opt-in manual rebuild mode to the dev-server by fhackenberger · Pull Request #33330 · angular/angular-cli
Description: Add a manualRebuild option to the @angular/build:dev-server builder that pauses automatic rebuilds while keeping the development server live and serving the last successful build. Previously every file change triggered an immediate rebuild and reload, which is costly when making a series of edits. While paused, file-change events are buffered in memory and coalesced per path so redundant events for the same file collapse to a single net change. Touching the trigger file (rebuildTrigger, defaulting to .ng-rebuild) flushes the queue to the build system as one incremental rebuild, after which the server performs a single HMR/live-reload cycle. PR Checklist Please check to confirm your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines Tests for the changes have been added (for bug fixes / features) Docs have been added / updated (for bug fixes / features) PR Type What kind of change does this PR introduce? Bugfix Feature Code style update (formatting, local variables) Refactoring (no functional changes, no api changes) Build related changes CI related changes Documentation content changes Other... Please describe: What is the current behavior? The current ng serve listens to all changes to files. Coding with LLM agents often means files are touched at a faster pace than manual coding, so it makes sense to have a hot dev server that is triggered when the agent is done with one task and wants to check the build. Issue Number: N/A What is the new behavior? With the two new options, you can have ng serve queue up modifications to the code base and trigger a build, by touching a configurable trigger file. Does this PR introduce a breaking change? Yes No
Open Graph Description: Add a manualRebuild option to the @angular/build:dev-server builder that pauses automatic rebuilds while keeping the development server live and serving the last successful build. Previously every ...
X Description: Add a manualRebuild option to the @angular/build:dev-server builder that pauses automatic rebuilds while keeping the development server live and serving the last successful build. Previously every ...
Opengraph URL: https://github.com/angular/angular-cli/pull/33330
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:505b4c0d-0866-a1f0-3276-c39348fe6e2e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B156:8709C:1061547:16226FB:6A4D897A |
| html-safe-nonce | 10f66dc71136d042f6f3e70a5ed84b3bfe82a4509f4881b7b950b38344ea1005 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTU2Ojg3MDlDOjEwNjE1NDc6MTYyMjZGQjo2QTREODk3QSIsInZpc2l0b3JfaWQiOiI4NTU0Njk0ODkzOTI1OTI3MjkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b0f0bd5890642e42f7a6eee727a8603bb1b8ce5df7cc848ee2dca4b3cc6e8b21 |
| hovercard-subject-tag | pull_request:3830902194 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/angular/angular-cli/pull/33330/files |
| twitter:image | https://avatars.githubusercontent.com/u/910936?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/910936?s=400&v=4 |
| og:image:alt | Add a manualRebuild option to the @angular/build:dev-server builder that pauses automatic rebuilds while keeping the development server live and serving the last successful build. Previously every ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bffd5484f01713a661b03469b77678f72b6574ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width