-
-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Description
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
I have searched, but the results seem to refer to the old occurrence of this bug (this problem or something similar was also present in 2.5.0, but went away when I switched to 2.5.2).
Tell us about the problem
The temporary editor files in Jetbrains based IDEs seem to confuse the livesync, so when I save a file while using tns run android --emulator I get errors like:
Unable to sync files. Error is: Multiple errors were thrown:
ENOENT: no such file or directory, stat '/scratch/platforms/android/src/main/assets/app/app.module.ts___jb_tmp___'
I believe the process they use for saving is something like:
- Save to temporary file
- Delete original
- Rename temporary over original
Which platform(s) does your issue occur on?
Android (probably both)
Please provide the following version numbers that your issue occurs with:
- CLI: 3.0.0-rc.1
- Cross-platform modules: 3.0.0-rc.2
- Runtime(s):
"tns-android": {
"version": "3.0.0-rc.1"
}
Please tell us how to recreate the issue in as much detail as possible.
- Create a new angular project using
tns create - Start the livesync
tns run android --emulator - modify and save
app/app.module.ts(or any other file really) file using webstorm (I'm currently using Webstorm 2017.1.1 on Ubuntu Linux 16.04)
CanKattwinkel, fvonberg, jbsouvestre, Rachnerd and mmodzelewski