Create a file named: "Makefile" (with no extension) in the root of your app
Open it in a text editor and add this:
android:
gulp lint
gulp sass
ionic run android --device
ios:
gulp lint
gulp sass
ionic build ios
This will lint your app and if that passes, it will compile sass and build you app.
Usage: To run your app, instead of the regular "ionic run android --device", run these commands:
Android: make android
iOS : make ios