You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing platform specific files app is refreshed in preview on all connected devices (even from other platform).
Steps:
tns create TestApp --js
Add platform specific files. For example main-view-model.android.js and main-view-model.android.ios.js
tns preview
Scan the QR code on android and ios
Change only main-view-model.android.js and save
Expected : only android devices are refreshed and changes are synced.
Actual: ios devices are refreshed also (the changes are synced correctly only on android)
Also error is shown in the log when adding platform specific files:
tns create TestApp --js
tns preview
Scan the QR code on android and ios
Add new test.android.js file to the project
The change is synced for android but there is also error for ios :
Unable to apply changes for platform ios. Error is: Error: ENOENT: no such file or directory, open '/Users/TestProjects/TestApp/platforms/ios/prev/app/test.js', {
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": "/Users/TestProjects/TestApp/platforms/ios/prev/app/test.js"
}.
The text was updated successfully, but these errors were encountered:
endarova
changed the title
tns preview - app is refreshed on ios devices also when changing android specific files,
tns preview - app is refreshed on ios devices also when changing android specific files
Oct 29, 2018
endarova
changed the title
tns preview - app is refreshed on ios devices also when changing android specific files
tns preview - app is refreshed on ios devices when changing android specific files
Oct 29, 2018
Environment
When changing platform specific files app is refreshed in preview on all connected devices (even from other platform).
Steps:
Expected : only android devices are refreshed and changes are synced.
Actual: ios devices are refreshed also (the changes are synced correctly only on android)
Also error is shown in the log when adding platform specific files:
The change is synced for android but there is also error for ios :
Unable to apply changes for platform ios. Error is: Error: ENOENT: no such file or directory, open '/Users/TestProjects/TestApp/platforms/ios/prev/app/test.js', {
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": "/Users/TestProjects/TestApp/platforms/ios/prev/app/test.js"
}.
The text was updated successfully, but these errors were encountered: