-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
LiveSync Doesn't Work #44
Comments
Just wondering if anybody has suggestions on this? |
What is the expected behavior? Currently, using nativescript-dev-sass 1.3.5 and tns 3.3.1 the changed scss files are transpiled to css and then the app is refreshed to reflect the changes which seems reasonable. |
I believe with regular CSS, it doesn't restart the app completely. I also noticed some behavior when I was in "tns debug" vs "tns run". Things seemed to work slightly better with run. It also seemed that the fact that SCSS changes triggered livesync vs the compiled CSS files was causing some weird behavior. I ended up forking this project to just make some emergency fixes and stop using the SASS child-process. This made things a little bit better but I think I still have some holes. This likely doesn't give you much specific information to go on. I can try to create a repo of the issue at some point but it might be a little while. |
Thanks for the clarification. I'll try to investigate it further. |
I found that this is the normal behavior when it comes to scss files and logged a bug for the CLI. For css, xml and html changes the view reloads and reflects the change but for scss files CLI refreshes the whole app. |
Hello,
Using Nativescript
3.2.1
and nativescript-dev-sass1.3.2
, Live Sync doesn't work. When sass file is changed, it triggers a full refresh of app.Does anyone know if there is a combination of versions where livesync works? Thanks for any help!
The text was updated successfully, but these errors were encountered: