I just startet my first ionic project and configured gulp, cordova and other things.
I added sass
ionic setup sass
and started the watch task
gulp watch
When I try to change something in my SASS file I get this error:
[21:43:24] Starting 'watch'...
[21:43:24] Finished 'watch' after 13 ms
[21:43:55] Starting 'sass'...
Bus error: 10
This is my gulp config:
gulp.task('default', ['sass']);
gulp.task('sass', function(done) {
gulp.src('./scss/ionic.app.scss')
.pipe(sass())
.pipe(gulp.dest('./www/css/'))
.pipe(minifyCss({
keepSpecialComments: 0
}))
.pipe(rename({ extname: '.min.css' }))
.pipe(gulp.dest('./www/css/'))
.on('end', done);
});
gulp.task('watch', function() {
gulp.watch(paths.sass, ['sass']);
});
I´m using:
- Node v0.10.20 (I had issues with the newest version)
- Gulp CLI 3.8.10
- ionic 1.3.2
I tried a lot today but couldn´t get it to work. Does anyone have an idea?