Hi, I think i found a solution for the issue.
Just add this to your gulpfile.js
gulp.task('serve:before', ['default']);
That line tells the new ionic cli 2@beta to run the old ionic cli 1.x ‘default’ task before serving (before running ionic serve
)
Also you need to add a ionic.config.json
file with this:
{
"name": "base_project",
"app_id": "",
"v2": false,
"typescript": false,
"watch": {
"sass": ["scss/**/*.scss"],
"html": ["www/**/*.html"],
"livereload": [
"www/**/*.html",
"www/**/*.js",
"www/**/*.css"
]
}
}
Hope that helps