Hot code push for mobile. Control of /public content changes



During development of cross platform service with mobile app, we faced problem with hot push \public folder on autoupdate.
For example, if we want to host distributive files in \public folder on server, it will be also uploaded on mobile.
Another case is some libraries ( polymer ) works with js files stored in \public folder, and after hot code update stop working.

It would be perfect to have some folder in public, excluded from hot code push.
Thanks in advance


All of the app files are stored directly on the device for easy access. The goal of hot code push is to make the files on the device synchronized with the files on your server.

Why do those libraries stop working after hot code push? Sounds like it could be a bug.


Polymer.js script located in /public folder among few other script files.
Uploading all /public files to mobile restrict server from store .ipa or apk files.