Ionic CLI question; manually sync "www" folder to all platforms


#1

Hopefully a simple question of “I just couldn’t find it in the docs”.

Is there a CLI way to synch the “www” folder across all platforms w/o triggering a build or serve? My projects build via the native build system because some native code I have doesn’t play nice with the CLI build executor.

I’ve been manually copying all “www” files to each platform when I update them and checking them into the repo that way, but I’m sure there’s a better way.


#2

I am also having same problem but i did’nt got any appropriate solution . Like i am using some plugins some of witch work in android but not in IOS So i have to code separately for both platforms.


#3

No you don’t - you just have to make sure the plugin is only used on the correct platform.