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

tns livesync ios --watch --emulator doesn't watch html or sass changes, only ts #2325

Closed
tsonevn opened this issue Dec 7, 2016 · 3 comments

Comments

@tsonevn
Copy link
Contributor

tsonevn commented Dec 7, 2016

From @tskweres on December 7, 2016 6:45

When I run tns livesync ios --watch --emulator, the project only compiles and relaunches on ts changes, not sass or html files.

I see in the console:

Executing before-prepare hook from /Users/tskweres/Dev/MyApp/hooks/before-prepare/nativescript-dev-android-snapshot.js
Executing before-prepare hook from /Users/tskweres/Dev/MyApp/hooks/before-prepare/nativescript-dev-sass.js
Executing before-prepare hook from /Users/tskweres/Dev/MyApp/hooks/before-prepare/nativescript-dev-typescript.js
Project successfully prepared (ios)
Executing after-prepare hook from /Users/tskweres/Dev/MyApp/hooks/after-prepare/nativescript-dev-android-snapshot.js
Executing after-prepare hook from /Users/tskweres/Dev/MyApp/hooks/after-prepare/nativescript-dev-sass.js
Transferring project files...
Successfully transferred all files.
Applying changes...
Successfully synced application org.nativescript.MyApp on device DB835084-D28C-4974-95D1-119D23761C75.

But no relaunch.

I'm running nativescript 2.4

package.json:

{
"description": "NativeScript Application",
"license": "SEE LICENSE IN ",
"readme": "NativeScript Application",
"repository": "",
"nativescript": {
"id": "org.nativescript.MyApp",
"tns-ios": {
"version": "2.4.0"
}
},
"dependencies": {
"@angular/common": "2.1.2",
"@angular/compiler": "2.1.2",
"@angular/core": "2.1.2",
"@angular/forms": "2.1.2",
"@angular/http": "2.1.2",
"@angular/platform-browser": "2.1.2",
"@angular/platform-browser-dynamic": "2.1.2",
"@angular/router": "3.1.2",
"nativescript-angular": "1.1.3",
"nativescript-slides": "^2.2.4",
"nativescript-theme-core": "^0.2.1",
"reflect-metadata": "~0.1.8",
"rxjs": "5.0.0-beta.12",
"tns-core-modules": "^2.5.0-2016-11-21-4821"
},
"devDependencies": {
"nativescript-dev-android-snapshot": "^0..",
"nativescript-dev-sass": "^0.4.1",
"nativescript-dev-typescript": "^0.3.2",
"typescript": "^2.0.10",
"zone.js": "~0.6.21"
}
}

Simulator:
Version 10.0 (SimulatorApp-700.14)

Copied from original issue: NativeScript/NativeScript#3256

@tsonevn
Copy link
Contributor Author

tsonevn commented Dec 7, 2016

Hi @tskweres,

Thank you for reporting this issue.
We reviewed this case and confirm that this is real problem, while using tns livesync ios --watch --emulator with @next modules. We will investigate further this problem. I also test this case with our latest official modules 2.4.1 and everything seems to work as expected. Regarding to that you could use tns-core-modules 2.4.1, for your project.

Hope this helps.

@tsonevn tsonevn added the bug label Dec 7, 2016
@tsonevn
Copy link
Contributor Author

tsonevn commented Dec 7, 2016

Hi @tskweres,
The issue has been fixed with PR #3260

Regards,
@tsonevn

@tskweres
Copy link

tskweres commented Dec 7, 2016

@tsonevn thanks for the quick turn around, you guys kick ass!

@tsonevn tsonevn added this to the 2.5.0 milestone Dec 13, 2016
@tzraikov tzraikov self-assigned this Dec 29, 2016
@pkoleva pkoleva closed this as completed Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants