Title: App does not update after refresh · Issue #11044 · NativeScript/NativeScript · GitHub
Open Graph Title: App does not update after refresh · Issue #11044 · NativeScript/NativeScript
X Title: App does not update after refresh · Issue #11044 · NativeScript/NativeScript
Description: Issue Description Hello, let's see if anyone can shed some light on this. I've been trying various approaches related to my environment for several days and haven't been able to solve it. After updating NS to version 9, I'm having proble...
Open Graph Description: Issue Description Hello, let's see if anyone can shed some light on this. I've been trying various approaches related to my environment for several days and haven't been able to solve it. After upd...
X Description: Issue Description Hello, let's see if anyone can shed some light on this. I've been trying various approaches related to my environment for several days and haven't been able to solve i...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/11044
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"App does not update after refresh","articleBody":"### Issue Description\n\nHello, let's see if anyone can shed some light on this. I've been trying various approaches related to my environment for several days and haven't been able to solve it. After updating NS to version 9, I'm having problems related to hot reload using --no-hmr.\n\nAfter many tests and investigations, I discovered that two files are deployed within the Android device: `bundle.js` and `bundle.mjs`. As far as I could identify, when I run `ns run android`, the `build.js` file is used, and this file always receives updates. When I run `ns run android --no-hmr`, `build.mjs` is used, but this file is never updated, so even after changing the app and restarting, the change never takes effect. Does this make sense? \n\nBesides migrating to NativeScript 9, I'm also migrating to NativeScript Vue 3, and I'm not sure if this problem is related to NativeScript or Vue. I tried isolating the problem using a small project, but I couldn't get the same behavior. My app is relatively complex and makes use of several components.\n\n\n```shell\nroot@fedora:/app# ns doctor\n✔ Getting environmental information\n\nNo issues were detected.\n✔ Your ANDROID_HOME environment variable is set and points to correct directory.\n✔ Your adb from the Android SDK is correctly installed.\n✔ The Android SDK is installed.\n✔ A compatible Android SDK for compilation is found.\n✔ Javac is installed and is configured properly.\n✔ The Java Development Kit (JDK) is installed and is configured properly.\n✔ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.\n✔ Getting NativeScript components versions information...\n✔ Component nativescript has 9.0.2 version and is up to date.\n```\n\ntsconfig.json\n\n```json\n{\n \"compilerOptions\": {\n \"strict\": true,\n \"target\": \"es2020\",\n \"module\": \"es2020\",\n \"moduleResolution\": \"node\",\n \"lib\": [\"es2020\", \"WebWorker\"],\n \"sourceMap\": true,\n \"noEmitHelpers\": true,\n \"importHelpers\": true,\n \"baseUrl\": \".\",\n \"paths\": {\n \"~/*\": [\"app/*\"],\n \"@/*\": [\"app/*\"]\n },\n \"allowSyntheticDefaultImports\": true,\n \"esModuleInterop\": true,\n \"experimentalDecorators\": true,\n \"emitDecoratorMetadata\": true,\n \"skipLibCheck\": true\n },\n \"vueCompilerOptions\": {\n \"target\": 3,\n \"lib\": \"nativescript-vue\"\n },\n \"include\": [\"app\", \"types\"],\n \"exclude\": [\"node_modules\", \"platforms\"]\n}\n\n```\n\npackage.json\n```json\n{\n \"name\": \"mobloja\",\n \"main\": \"./app/app.js\",\n \"displayName\": \"Blank\",\n \"version\": \"1.0.0\",\n \"description\": \"NativeScript Application\",\n \"dependencies\": {\n \"@nativescript-community/perms\": \"3.0.4\",\n \"@nativescript-community/ui-collectionview\": \"6.0.14\",\n \"@nativescript-community/ui-drawer\": \"^0.1.31\",\n \"@nativescript-community/ui-pulltorefresh\": \"^2.5.3\",\n \"@nativescript/core\": \"~9.0.8\",\n \"@nativescript/geolocation\": \"9.0.0\",\n \"@nativescript/iqkeyboardmanager\": \"2.1.1\",\n \"@nativescript/theme\": \"~3.1.0\",\n \"moment-mini\": \"^2.29.4\",\n \"nativescript-alarm\": \"https://github.com/mobilemindtech/nativescript-alarm.git\",\n \"nativescript-apple-sign-in\": \"^2.0.0\",\n \"nativescript-appversion\": \"1.4.4\",\n \"nativescript-background-task\": \"https://github.com/mobilemindtech/nativescript-background-task.git\",\n \"nativescript-barcodescanner\": \"https://github.com/mobilemindtech/nativescript-barcodescanner/releases/download/4.1.12/nativescript-barcodescanner-4.1.12.tgz\",\n \"nativescript-clipboard\": \"^2.1.1\",\n \"nativescript-db-orm\": \"https://github.com/mobilemindtech/nativescript-db-orm.git\",\n \"nativescript-device-uuid\": \"https://github.com/mobilemindtech/nativescript-device-uuid.git\",\n \"nativescript-extra-call\": \"https://github.com/mobilemindtech/nativescript-extra-call.git\",\n \"nativescript-fonticon\": \"https://github.com/mobilemindtech/nativescript-fonticon.git\",\n \"nativescript-google\": \"https://github.com/mobilemindtech/nativescript-google.git\",\n \"nativescript-masked-text-field\": \"https://github.com/mobilemindtech/nativescript-masked-text-field/releases/download/1.0.4/nativescript-masked-text-field-1.0.4.tgz\",\n \"nativescript-message-bar-manager\": \"https://github.com/mobilemindtech/nativescript-message-bar-manager.git\",\n \"nativescript-mobilemind\": \"https://github.com/mobilemindtech/nativescript-mobilemind.git\",\n \"nativescript-network-checker\": \"https://github.com/mobilemindtech/nativescript-network-checker.git\",\n \"nativescript-push-notifications\": \"https://github.com/mobilemindtech/push-plugin.git\",\n \"nativescript-sqlite\": \"^2.8.6\",\n \"nativescript-ui-listview\": \"15.2.3\",\n \"nativescript-view-util\": \"https://github.com/mobilemindtech/nativescript-view-util.git\",\n \"nativescript-vue\": \"3.0.2\",\n \"nativescript-websockets\": \"https://github.com/mobilemindtech/nativescript-websockets/releases/download/2.0.5/nativescript-websockets-2.0.5.tgz\",\n \"picocolors\": \"^1.1.1\",\n \"rxjs\": \"~7.8.2\",\n \"vuex\": \"^4.1.0\"\n },\n \"devDependencies\": {\n \"@nativescript/android\": \"9.0.1\",\n \"@nativescript/types\": \"~9.0.0\",\n \"@nativescript/webpack\": \"~5.0.25\",\n \"typescript\": \"^5.8.3\",\n \"vue-loader\": \"^17.1.1\"\n }\n}\n```\n\n```yaml\nOS: Linux 6.18 Debian GNU/Linux 12 (bookworm) 12 (bookworm)\nCPU: (8) x64 AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx\nShell: /bin/bash\nnode: 20.19.6\nnpm: 10.8.2\nnativescript: 9.0.2\n\n# android\njava: 17.0.17\nndk: Not Found\napis: Not Found\nbuild_tools: Not Found\nsystem_images: Not Found\n\n# ios\nxcode: Not Found\ncocoapods: Not Found\npython: Not Found\npython3: 3.11.2\nruby: Not Found\nplatforms: Not Found\n```\n\n### Dependencies\n\n```json\n\"dependencies\": {\n \"@nativescript-community/perms\": \"3.0.4\",\n \"@nativescript-community/ui-collectionview\": \"6.0.14\",\n \"@nativescript-community/ui-drawer\": \"^0.1.31\",\n \"@nativescript-community/ui-pulltorefresh\": \"^2.5.3\",\n \"@nativescript/core\": \"~9.0.8\",\n \"@nativescript/geolocation\": \"9.0.0\",\n \"@nativescript/iqkeyboardmanager\": \"2.1.1\",\n \"@nativescript/theme\": \"~3.1.0\",\n \"moment-mini\": \"^2.29.4\",\n \"nativescript-alarm\": \"https://github.com/mobilemindtech/nativescript-alarm.git\",\n \"nativescript-apple-sign-in\": \"^2.0.0\",\n \"nativescript-appversion\": \"1.4.4\",\n \"nativescript-background-task\": \"https://github.com/mobilemindtech/nativescript-background-task.git\",\n \"nativescript-barcodescanner\": \"https://github.com/mobilemindtech/nativescript-barcodescanner/releases/download/4.1.12/nativescript-barcodescanner-4.1.12.tgz\",\n \"nativescript-clipboard\": \"^2.1.1\",\n \"nativescript-db-orm\": \"https://github.com/mobilemindtech/nativescript-db-orm.git\",\n \"nativescript-device-uuid\": \"https://github.com/mobilemindtech/nativescript-device-uuid.git\",\n \"nativescript-extra-call\": \"https://github.com/mobilemindtech/nativescript-extra-call.git\",\n \"nativescript-fonticon\": \"https://github.com/mobilemindtech/nativescript-fonticon.git\",\n \"nativescript-google\": \"https://github.com/mobilemindtech/nativescript-google.git\",\n \"nativescript-masked-text-field\": \"https://github.com/mobilemindtech/nativescript-masked-text-field/releases/download/1.0.4/nativescript-masked-text-field-1.0.4.tgz\",\n \"nativescript-message-bar-manager\": \"https://github.com/mobilemindtech/nativescript-message-bar-manager.git\",\n \"nativescript-mobilemind\": \"https://github.com/mobilemindtech/nativescript-mobilemind.git\",\n \"nativescript-network-checker\": \"https://github.com/mobilemindtech/nativescript-network-checker.git\",\n \"nativescript-push-notifications\": \"https://github.com/mobilemindtech/push-plugin.git\",\n \"nativescript-sqlite\": \"^2.8.6\",\n \"nativescript-ui-listview\": \"15.2.3\",\n \"nativescript-view-util\": \"https://github.com/mobilemindtech/nativescript-view-util.git\",\n \"nativescript-vue\": \"3.0.2\",\n \"nativescript-websockets\": \"https://github.com/mobilemindtech/nativescript-websockets/releases/download/2.0.5/nativescript-websockets-2.0.5.tgz\",\n \"picocolors\": \"^1.1.1\",\n \"rxjs\": \"~7.8.2\",\n \"vuex\": \"^4.1.0\"\n},\n\"devDependencies\": {\n \"@nativescript/android\": \"9.0.1\",\n \"@nativescript/types\": \"~9.0.0\",\n \"@nativescript/webpack\": \"~5.0.25\",\n \"typescript\": \"^5.8.3\",\n \"vue-loader\": \"^17.1.1\"\n}\n```\n\n\n\n### Reproduction\n\n_No response_\n\n### Relevant log output (if applicable)\n\n```shell\n\n```\n\n### Environment\n\n_No response_\n\n### Please accept these terms\n\n- [x] I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\n- [x] This is a bug report\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/ricardobocchi","@type":"Person","name":"ricardobocchi"},"datePublished":"2026-01-09T17:54:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/11044/NativeScript/issues/11044"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4fffd53e-e2a4-ac9c-1b3c-08cfb7a01d7d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A568:29F431:28E377D:37E9259:6964D958 |
| html-safe-nonce | fe00d19642be42c21e8d2f85c42afd15047c56eca4dc04bf42f6e91b0640f70f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTY4OjI5RjQzMToyOEUzNzdEOjM3RTkyNTk6Njk2NEQ5NTgiLCJ2aXNpdG9yX2lkIjoiNzIxODY3NjIzNDk2OTk3MjA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1443b210f81e054ab53194d10af64bf521c2c228e3b89358d62c2bc3d119cc38 |
| hovercard-subject-tag | issue:3797837290 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/NativeScript/NativeScript/11044/issue_layout |
| twitter:image | https://opengraph.githubassets.com/71451a96d6de963493833204e301f3dd6c19673bf816fa79135ac2d83b002215/NativeScript/NativeScript/issues/11044 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71451a96d6de963493833204e301f3dd6c19673bf816fa79135ac2d83b002215/NativeScript/NativeScript/issues/11044 |
| og:image:alt | Issue Description Hello, let's see if anyone can shed some light on this. I've been trying various approaches related to my environment for several days and haven't been able to solve it. After upd... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ricardobocchi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8f997e7f84bd1db9537ba403fa68be0da3423594 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width