-
-
Notifications
You must be signed in to change notification settings - Fork 197
Support livesync with webpack #3317
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
Comments
You can now use LiveSync + Webpack with the following command:
NOTE: This requires using the latest version of nativescript-dev-webpack |
|
@IAMtheIAM the livesync with |
@NickIliev Hi again. I cloned that app and did the app then started. I opened The CLI then detected the changed, webpack incrementally compiled, then the app did all its hooks, reinstalled the app on the emulator, and opened the app. The text unfortunately did not change, so my livesync is busted somehow. Here is my environment: Is there something else that has to be done to get this working? Thanks for the help again! |
@IAMtheIAM You are probably hitting this known bug related to API 27 and above. Can you try the same workflow by using a lower API level emulator (e.g API 25). |
That's great to know! I downgraded to API 25 and it fixed the issue! thanks once again. Incremental compile and reload takes about 30 seconds - better than 3 minutes for a full build, and better than a clean build which takes almost 10 minutes. Are there any optimizations that could be done to speed up these incremental compilations, such as multi threaded webpack build (aka HappyPack / Thread-Loader) or gradle builds, to get down to around 2-5 seconds reload time? |
@NickIliev is there going to be fix for this issue? |
Hi @tomylee001001, Live sync should be ok on all android versions with latest official release. If you still experience issues, please log an issue and provide as much details as possible. |
@tomylee001001 Google Play will continue to accept applications that are working on lower API levels. What the blog says and what Google will require is that the The issue with |
Please, provide the details below:
We need to support LiveSync functionality with webpack builds. The idea is to use the webpack's watcher and rebuild the .js files when a change occur.
Which platform(s) does your issue occur on?
Both
The text was updated successfully, but these errors were encountered: