You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[00:20:23] Starting 'watch:css'...
[00:20:28] Starting 'css'...
[00:20:34] Finished 'css' after 5.33 s
[00:20:35] Starting 'css'...
[00:20:40] Finished 'css' after 4.98 s
[00:20:41] Starting 'css'...
[00:20:48] Finished 'css' after 6.54 s
[00:20:49] Starting 'css'...
[00:20:58] Finished 'css' after 8.72 s
[00:21:00] Starting 'css'...
[00:21:11] Finished 'css' after 10 s
[00:22:35] Starting 'css'...
[00:22:48] Finished 'css' after 13 s
[00:25:48] Starting 'watch:css'...
[00:25:53] Starting 'css'...
[00:25:57] Finished 'css' after 4.06 s
[00:26:02] Starting 'css'...
[00:26:03] Finished 'css' after 1.35 s
[00:26:05] Starting 'css'...
[00:26:06] Finished 'css' after 1.08 s
[00:26:07] Starting 'css'...
[00:26:08] Finished 'css' after 929 ms
[00:26:09] Starting 'css'...
[00:26:09] Finished 'css' after 887 ms
[00:26:10] Starting 'css'...
[00:26:11] Finished 'css' after 889 ms
with the following tasks
// CSS tasksgulp.task('css',()=>{constprocessors=[autoprefixer,discard({removeAll: true}),mqpacker,nano({preset: 'default'})];returnpipeline(gulp.src(`${roots.css}/*.sass`),sourcemaps.init(),// Init mapssass({ fiber }),// Compile SASSgulp.dest(roots.css),// Output the raw CSSpostcss(processors),// Postprocess itsourcemaps.write(`./`),// Write mapscond('**/*.css',// If it's a css file and not a map filerename({suffix: '.min'}),// Add .min suffix),gulp.dest(`${roots.css}/dist`),// Output minified CSSerrorHandler);});gulp.task('watch:css',()=>gulp.watch(watchGlobs.sass,gulp.series('css')));
@Atulin if the problem doesn't exist when not using the gulp-sass plugin, then it's a problem with that plugin or your setup... Neither of which we are responsible for.
Before you open this issue, please complete the following tasks:
What were you expecting to happen?
I expect using globs like
/static/css/**/*.sass
for a watcher would result in progressively faster compilation times with each triggerWhat actually happened?
They become progressively longer
Please give us a sample of your gulpfile
results in
while
results in
with the following tasks
and the following packages
Please provide the following information:
node -v
): 14.10.1npm -v
): 7.5.4gulp -v
): 4.0.2 (local) 2.3.0 (CLI)Additional information
The text was updated successfully, but these errors were encountered: