@anespa I meant with
I see that you posted an error when running
ionic serve. Does your page that has the css applied need cordova to be shown? I use cordova to access native functionality, so if it’s just to see the page, I try to make the page content be displayed even without cordova (the page will be shown, even if I can’t execute some actions in the page). So you could try to make your app work this way, it would be easier to test.
I have an app with more than 100 components and most of the time I test css/themes in the browser. I haven’t seen a significant difference between the browser and the device (except in some cases regarding flexbox in Android 4.4 and some special characters displayed differently).
After I check that it’s fine in the browser, I check in the device. In most cases it works the way i intended so I don’t need to rebuild.
Your app takes 20min to be built using the
--prod flag, I presume:
ionic cordova run android --prod
In my case it also takes a long time, so if it’s just to test the css I can just execute without
ionic cordova run android
chrome://inspect/#devices, you can just type it in chrome to see and inspect your device, when you plug it with usb.