Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
✔ Getting NativeScript components versions information...
✔ Component nativescript has 5.4.0 version and is up to date.
✔ Component tns-core-modules has 6.0.0-next-2019-05-16-141945-01 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 6.0.0-2019-05-16-165318-01 version and is up to date.
Describe the bug
If I update a css file while using the webpack bundler (soon to be required), the updates are not applied. Webpack does respond, outputting:
File change detected. Starting incremental webpack compilation...
Webpack compilation complete. Watching for file changes.
Webpack build done!
But no changes occur. The only way to apply the changes is to stop the emulator and restart tns debug ios
.
To Reproduce
Using nativescript-core js, create some views without using any xml. Give the views classnames and create a css class that targets those classnames. Run tns debug ios
, and update some css. Webpack will respond, but the updates will not be shown. Closing the app and re-opening will still not fix the issue.
Expected behavior
Changes should either display automatically, or restart the app. The app should not have to be re-installed for every change to css.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.