-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Initial LiveSync is extremly slow if the project has thousands of files #921
Comments
related to this #913 |
Let's see whether the problem is present when files are bundled with WebPack |
Optimize the usage of `tns livesync android` command. In case your project is huge, every time you use it, the full project will be transferred to device. Persist all file hashes of project's files and next time when command is executed transfer only the changed ones. The json which contains hashes information should be on device, so when the device is attached to another PC, where the same project is developed, we'll still transfer only the changed files. Related: #921
okay, we've found the way to speed the process for Android. In case your project is huge, every time you use |
In order to test this - create project with thousands of files, execute |
tns livesync --watch
always syncs all files on first execution.We've considered some ideas for optimizations:
adb push
for each file.Here is the repo project https://github.com/NativeScript/sample-ng-todomvc
The text was updated successfully, but these errors were encountered: