appleboy / appleboy/gulp-compass

Fails to pick up changes from gulp-watch

Open
#110 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
172
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I'm unable to make gulp-compass compile anything coming piped through gulp-watch.

This works:

```
return gulp.src('app/styles/base.scss')
.pipe(compass({
sass: 'app',
css: '.tmp'
}));
```

This doesn't work:

```
return gulp.src('app/styles/base.scss')
.pipe(watch('app/styles/base.scss'))
.pipe(compass({
sass: 'app',
css: '.tmp'
}));
```

The pipe does produce a vinyl on change (I verified with gulp-debug), but gulp-compass fails to compile them, as soon as I add the watch pipe.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the two pipeline examples and tracing how the gulp-watch-produced vinyl reaches gulp-compass; the issue reports that gulp-debug sees the vinyl but compilation fails. Reproduce both cases, then verify that changes from the watched pipeline compile successfully and produce the expected CSS output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sass
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.