I have an Ionic 1.3.1 project with an architecture based on the, old but gold, generator-gulp-angular in which I would like to enable Live Reload
on the device (Android).
My gulp config paths look like:
exports.paths = {
src: 'src',
dist: 'www',
tmp: '.tmp',
e2e: 'e2e'
};
This means that to run the project in the browser I use gulp serve
and to run in the Android device I use gulp build && ionic run android
.
I can't use the command ionic run android --livereload
as described in the doc here because it synchronizes the www
folder where (after a gulp build
) I have the minified files and not the source files.
So I would like to mix up in some way the two commands gulp serve
and ionic run android --livereload
but sincerely I don't know how to achieve this.