My project has this local.js file that stores specific server setting. For example, on LIVE server it sets some constants; while on DEV server it sets other constants.
This file local.js is not in Github, because it is ignored in .gitignore
How to make PhoneGap pull a copy of this file?
I'm assuming you are building via github? If that is the case, you would have to include it on github (maybe private repo).
Alternatively, you could bundle and zip the www directory locally and upload that instead.
Yes I'm building via github.
I can't include it in github, because local.js contains specific settings for each server. For example, on DEV server I turn on logging, but on LIVE it is off.
Thanks for your concern.