René's URL Explorer Experiment


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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d4194fe0-9f93-3d04-1e2e-fb5823e1d4fc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id892C:3D044:9924F6:D70918:6A625032
html-safe-noncefb4603b045d5a3f6746eeeab9756c19f5e01e7365e510271534cab0d5312c183
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTJDOjNEMDQ0Ojk5MjRGNjpENzA5MTg6NkE2MjUwMzIiLCJ2aXNpdG9yX2lkIjoiNzY4NDgwOTY2ODI0NzU3MjUzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc8d221c153fe090a687116d08ce046e622031a4fcc37d82bf12168b3c2508a66
hovercard-subject-tagpull_request:3526280583
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/6010/files
twitter:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
og:image:altimprovements 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None77f5af7d0fa3843b1779a53f60ec016b3f962e46051fb05c2e9b608a8138eefb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released3ce7d369aae307e197872f810f80f3ed9051c78
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6010/changes#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6010%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6010%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
NativeScript https://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
Notifications https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Fork 204 https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Star 1.1k https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Code https://github.com/NativeScript/nativescript-cli
Issues 356 https://github.com/NativeScript/nativescript-cli/issues
Pull requests 17 https://github.com/NativeScript/nativescript-cli/pulls
Actions https://github.com/NativeScript/nativescript-cli/actions
Projects https://github.com/NativeScript/nativescript-cli/projects
Security and quality 0 https://github.com/NativeScript/nativescript-cli/security
Insights https://github.com/NativeScript/nativescript-cli/pulse
Code https://github.com/NativeScript/nativescript-cli
Issues https://github.com/NativeScript/nativescript-cli/issues
Pull requests https://github.com/NativeScript/nativescript-cli/pulls
Actions https://github.com/NativeScript/nativescript-cli/actions
Projects https://github.com/NativeScript/nativescript-cli/projects
Security and quality https://github.com/NativeScript/nativescript-cli/security
Insights https://github.com/NativeScript/nativescript-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
mainhttps://github.com/NativeScript/nativescript-cli/tree/main
feat/vite-bundler-improvementshttps://github.com/NativeScript/nativescript-cli/tree/feat/vite-bundler-improvements
Conversation 1 https://github.com/NativeScript/nativescript-cli/pull/6010
Commits 7 https://github.com/NativeScript/nativescript-cli/pull/6010/commits
Checks 4 https://github.com/NativeScript/nativescript-cli/pull/6010/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/6010/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
feat(bundler): vite build/prepare + dx improvements https://github.com/NativeScript/nativescript-cli/pull/6010/changes#top
Show all changes 7 commits https://github.com/NativeScript/nativescript-cli/pull/6010/files
70032aa fix(bundler): vite double restart NathanWalker Apr 14, 2026 https://github.com/NativeScript/nativescript-cli/pull/6010/commits/70032aa259bfc821b6d18dfe335f0bc0e56f4e9a
de44c16 fix(vite): build/prepare handling for the bundle NathanWalker May 21, 2026 https://github.com/NativeScript/nativescript-cli/pull/6010/commits/de44c16ca2a6c02990461014bc721472719dc8bc
3c09b28 feat: allow custom vite dist folder name NathanWalker May 26, 2026 https://github.com/NativeScript/nativescript-cli/pull/6010/commits/3c09b2867cd253284fa44fe2875c9e3d822a6355
4b59899 feat: allow proper adb reverse debug sessions NathanWalker May 29, 2026 https://github.com/NativeScript/nativescript-cli/pull/6010/commits/4b598992daf05027c0ea3756a437363b6a1dcb45
6a19fd2 feat: cli managed vite process, seamless and easier to work with NathanWalker May 29, 2026 https://github.com/NativeScript/nativescript-cli/pull/6010/commits/6a19fd247161a6394270ab99ef4aa7e5db334708
92e990a fix(bundler): ensure vite server starts up before allowing connection… NathanWalker Jul 9, 2026 https://github.com/NativeScript/nativescript-cli/pull/6010/commits/92e990a03d6c9e7a36713622e3d4eae015fee16c
487b446 fix: copy Vite output for production builds tannerlinsley Jul 21, 2026 https://github.com/NativeScript/nativescript-cli/pull/6010/commits/487b44696c33038cee52dfad2b9b6a72fb8d65f1
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6010/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
constants.ts https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
run-controller.ts https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
bundler-compiler-service.ts https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
run-controller.ts https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-ccbf4fb592dcd0762981b2d83f501ba0ac5ae3bc66f2c86cd47bfb7e930afb69
bundler-compiler-service.ts https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-4aff644393b3f3d7396dc660ba7b7accf6c9ef623274ae52cf7ea04e9b5c774f
lib/constants.tshttps://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
View file https://github.com/NativeScript/nativescript-cli/blob/487b44696c33038cee52dfad2b9b6a72fb8d65f1/lib/constants.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6010/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
lib/controllers/run-controller.tshttps://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
View file https://github.com/NativeScript/nativescript-cli/blob/487b44696c33038cee52dfad2b9b6a72fb8d65f1/lib/controllers/run-controller.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6010/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
https://github.com/NativeScript/nativescript-cli/pull/6010/changes#diff-73b7dd9d5c397c4480431594f57db56cea38b1b826fde043238c66be19c12a6d
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6010/changes
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.