Title: feat(bundler): vite build/prepare + dx improvements by NathanWalker · Pull Request #6010 · NativeScript/nativescript-cli · GitHub
Open Graph Title: feat(bundler): vite build/prepare + dx improvements by NathanWalker · Pull Request #6010 · NativeScript/nativescript-cli
X Title: feat(bundler): vite build/prepare + dx improvements by NathanWalker · Pull Request #6010 · NativeScript/nativescript-cli
Description: improvements to the NativeScript CLI's Vite HMR workflow, focusing on reliability, developer experience, and automation. The CLI now fully manages the Vite dev server lifecycle and the Android adb reverse port forwarding needed for HMR, eliminating the need for developers to manually coordinate these steps or use external tooling. It also ensures that Vite build outputs are always correctly copied to the platform destination, fixing prior issues with missing or stale bundles. Summary by CodeRabbit New Features Enabled Android Vite HMR via automatic device-to-host tunneling during initial sync, and re-established the mapping before app launch. Added long-lived Vite dev-server support in watch mode, including readiness checks and initial artifact copying. Bug Fixes Improved reliability of Vite dist/output handling and made adb reverse setup best-effort with verification and safe fallbacks. Documentation Documented the Vite dist folder naming/override behavior used for platform output copying.
Open Graph Description: improvements to the NativeScript CLI's Vite HMR workflow, focusing on reliability, developer experience, and automation. The CLI now fully manages the Vite dev server lifecycle and the Android ...
X Description: improvements to the NativeScript CLI's Vite HMR workflow, focusing on reliability, developer experience, and automation. The CLI now fully manages the Vite dev server lifecycle and the Andr...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6010
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c9c19051-65ed-c3df-c8e1-9c9e33966102 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C6E4:2A9DDC:1DF57B:26F8AE:6A615E08 |
| html-safe-nonce | b9b86614578b32c41e151372ffb46231a1508c83a2b2f1a27ddc20430721e088 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkU0OjJBOUREQzoxREY1N0I6MjZGOEFFOjZBNjE1RTA4IiwidmlzaXRvcl9pZCI6IjgzMTY4MTIxNzMxMTg2MjczMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d5d0fb6f117d4c6654b4279a914b10be5019c12292375b546c5059c606e89bf0 |
| hovercard-subject-tag | pull_request:3526280583 |
| 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/NativeScript/nativescript-cli/pull/6010/files |
| twitter:image | https://avatars.githubusercontent.com/u/457187?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/457187?s=400&v=4 |
| og:image:alt | improvements to the NativeScript CLI's Vite HMR workflow, focusing on reliability, developer experience, and automation. The CLI now fully manages the Vite dev server lifecycle and the Android ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c258d2b06b498220e3b94af28b26bbbf58f4203a6373725f779afcc867afd263 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-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 | 5f67bc431418961e0814f1eb30a4231250e4726d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width