Skip to content

'Scss' file changes trigger app refresh instead reloading the view and apply generated 'css' #3243

Closed

Description

@zbranzov

Did you verify this is a real problem by searching [Stack Overflow]

Yes

Tell us about the problem

When a 'scss' file is changed the whole app is refreshed instead of applying the changes from the newly generated 'css' file by reloading the view as it normally does with 'css'.

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.3.1
  • Cross-platform modules: 3.3.0
  • Runtime(s): 3.3.1
  • Plugin(s):
    "dependencies": {
    "nativescript-theme-core": "~1.0.2",
    "tns-core-modules": "~3.3.0"
    },
    "devDependencies": {
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "lazy": "1.0.11",
    "nativescript-dev-sass": "^1.3.5",
    "nativescript-dev-typescript": "~0.5.0",
    "typescript": "~2.4.2"
    }

Please tell us how to recreate the issue in as much detail as possible.

Deploy an app that uses scss and then change any scss file and save it. The whole app will be refreshed. If you change the 'css' file generated by the same scss, the app won't be refreshed and the change will be applied by reloading the view.

Activity

  1. added this to the 4.0.0 milestone on Feb 13, 2018
  2. rosen-vladimirov commented on Feb 13, 2018

    @rosen-vladimirov
    Contributor
  3. self-assigned this
    on Mar 1, 2018
  4. zbranzov commented on Mar 2, 2018

    @zbranzov
    Author

    It works as expected. Tested with sass demo app and nativescript@next.

  5. zbranzov commented on Mar 7, 2018

    @zbranzov
    Author

    Sass plugin has been released and awaits CLI release https://github.com/NativeScript/nativescript-dev-sass/releases/tag/v.1.4.0

  6. self-assigned this
    on Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions