Closed sis0k0 closed 6 years ago
Hey @hafstad, thanks for reporting that! It's not the intended behavior for sure. We'll work on fixing it.
From @iMarwan-k on June 20, 2018 19:22
Hi @sis0k0 , I'm having the opposite behavior. when I make a change to HTML or CSS, I don't see the change until I completely bundle the whole project. however, the change to any .ts file refresh the app and it is reflected
From @jkod on June 24, 2018 22:38
yes, also getting the same opposite behavior as @iMarwan-k - only .ts file changes casues the app to reload.
Moving this to the nativescript-dev-webpack repo as it's related to the virtual file system we're using with webpack.
release 0.15.0 crash the app
@iMarwan-k, can you send stack trace and your package.json?
I'm hoping that this is the right place, because I'm having the same issue on an nativescript-vue project:
but the changes are not shown.
There are only 3 ways I got the changes I've made in the html-file to show in the app.
Same behavior in the preview app on a real device.
So any help would be appreciated.
tns-cli version: 5.3.2 vue-cli version: 3.6.3
From @hafstad on June 12, 2018 21:0
I've just tried following the installation / usage guide in the readme so I'm using the recommended version of angular cli.
After install I did the following command: ng new --collection=@nativescript/schematics --name=my-shared-app --shared
And after that I did following inside the newly created project: tns run ios --bundle --emulator
The app starts in the iOS simulator as expected, but I noticed that changes made in the files with the *.tns.ts are not refreshing the app.
The console writes:
File change detected. Starting incremental webpack compilation... Webpack compilation complete. Watching for file changes. Webpack build done! main.ns.ts
However if I change in other files such *.html the changes are triggering the app to refresh.
Is this intended behaviour, or am I doing something wrong?
Copied from original issue: NativeScript/nativescript-schematics#19