Hi Cmaden, thanks for your help.
That makes perfect sense, which is why I have no idea why it’s behaving like this
I started with 1 app, everything behaved. When I first ran ionic platform add android from the root of App1 it created a platforms directory at the same level as www. I thought the platforms/build would then be specific to each app.
I created a second app, and it generated something like this
– App1 - Main
– App1 - Main - www
– App1 - Main - platforms
– App1 - Main - plugins (etc)
– App2 - Main
– App2 - Main - www
– App2 - Main - plugins (etc)
Once my second app was created I did a cordova platform add android and it claimed it already existed. It’s still working from my App1 setup.
I can run ionic build from ANYWHERE (e.g. directly on my desktop) and it builds App1, even doing it from the root of App2.
I must have fiddled with Ionic build or something and fixed the directory. I have looked through my environment variables and no suspects. Maybe I should reinstall ionic with NPM.
I’m going to put a clean dev build on my friends PC tomorrow so I will see if that has the same odd behaviour, and then try and work my way back.
As soon as I know how I’ve screwed this up I’ll post up. Thanks for letting me know this ISN’T the expected behaviour