I've started encountering hangs during my nativescript builds for Android. Yesterday, I got hangs after installing both a plugin and a javascript library. Today, I have had ECONNREFUSED errors when pushing the build to a device via USB as well as just hangs where the build just stops. It seems like it is losing the connection to the device or the device is refusing the connection.
I can solve it sometimes by unplugging the device and reconnecting, clearing the platforms folder, or just rebooting my dev box. This is a huge pain. The project is fairly large. Are there size constraints to an app? Does anyone have any suggestions as to why I might be suddenly having these errors?