Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Changes to css are not applied when using webpack bundler #7307

Copy link
Copy link
Open
@SephReed

Description

@SephReed
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.