Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zbranzov opened this issue Dec 4, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@zbranzov
Copy link

zbranzov commented Dec 4, 2017

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.

@rosen-vladimirov
Copy link
Contributor

rosen-vladimirov commented Feb 13, 2018

Related PR: NativeScript/nativescript-dev-sass#62

@zbranzov
Copy link
Author

zbranzov commented Mar 2, 2018

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

@zbranzov
Copy link
Author

zbranzov commented Mar 7, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants