Every time I change a code even it's only one line I have to run the command
sudo ionic cordova prepare ios
and I have to click play button on Xcode to unable to upload the app on the iPhone and see the changes in action.
Basically every time I want to test the app, I am repeating this steps and each time it takes approximately 4 minutes to see if this single line of code I wrote is working or not. Is there a way to see this changes in real time?
If I run
sudo ionic serve
and if I make a change the changes are appear on the browser real time but I need to test the camera and the return key on the iPhone so browser doesn't work for me. For instance I can switch between the inputs with the "tab key" but I cannot switch between the inputs with the "return key".
Is there a way to see the changes in real time? That would save me a lot of time.