Skip to content
Permalink
Browse files

fix(cli-bundler): fix missing refresh in less/scss/styl watch mode

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 1d61223317c61dbd2c6ae4e25b224a29913910ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 skeleton/cli-bundler/aurelia_project/tasks/process-css.ext
@@ -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

0 comments on commit 1d61223

Please sign in to comment.
You can’t perform that action at this time.