Skip to content

Commit

Permalink
fix(cli-bundler): fix missing refresh in less/scss/styl watch mode
Browse files Browse the repository at this point in the history
less/scss/styl files are not one-to-one compilation, we have to pass all files through.

closes #1138
  • Loading branch information
3cp committed Jul 29, 2019
1 parent 92521a0 commit 1d61223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeleton/cli-bundler/aurelia_project/tasks/process-css.ext
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import * as postcssUrl from 'postcss-url';
// @endif

export default function processCSS() {
return gulp.src(project.cssProcessor.source, {sourcemaps: true, since: gulp.lastRun(processCSS)})
return gulp.src(project.cssProcessor.source, {sourcemaps: true/* @if !feat.less && !feat.sass && !feat.stylus */, since: gulp.lastRun(processCSS)/* @endif */})
// @if feat.less || feat.stylus
.pipe(plumber({ errorHandler: notify.onError('Error: <%= error.message %>') }))
// @endif
Expand Down

0 comments on commit 1d61223

Please sign in to comment.