Skip to content

tns livesync <platform> --watch is not working for changed platform specific files #1313

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

Closed
x4080 opened this issue Dec 6, 2015 · 4 comments
Milestone

Comments

@x4080
Copy link

x4080 commented Dec 6, 2015

Hi,

When I change the content of .ios.js, the changes not reflected in the simulator (don't know about device), if I re run ins live sync iOS --watch again or without --watch, it changes (but not in the --watch state)

@Fatme Fatme added this to the 1.5.2 milestone Dec 8, 2015
@Fatme
Copy link
Contributor

Fatme commented Dec 10, 2015

@dtopuzov
Copy link
Contributor

*.ios.js files fail to sync in iOS simulator:

Unable to sync files. Error is: ENOENT: no such file or directory, stat '/Users/topuzov/Git/test/TestApp/platforms/ios/TestApp/app/details.ios.js'

@m-abs
Copy link

m-abs commented Feb 23, 2016

I see a similar error as @dtopuzov with Android modules from a Linux PC:

Unable to sync files. Error is: ENOENT: no such file or directory, stat '/home/m_abs/project/playerdemo/platforms/android/src/main/assets/app/shared/sound.android.js'

NativeScript 1.6.1

@rosen-vladimirov rosen-vladimirov changed the title tns livesync ios --watch for changed .ios not pushed to simulator tns livesync <platform> --watch is not working for changed platform specific files Feb 29, 2016
@rosen-vladimirov
Copy link
Contributor

Yep, the livesync is not working when --watch option is used and platform specific file is modified, for example main-page.android.js. I've just merged a fix for this in the release branch :)

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

7 participants