appleboy / appleboy/gulp-compass
"end" event
- Dominant language
- JavaScript
- Stars
- 172
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to write a gulp task that incorporates gulp-compass as follows:
```
.pipe(plugins.compass({
config_file: path.join(options.compass_config_dir, 'config.rb'),
sass: options.sass_dir,
css: options.css_dir,
image: options.output_dir,
import_path: options.output_dir,
require: ['susy'],
sourcemap: true
}))
.on('end', done);
```
The `done` callback is the callback for the gulp task itself. I'm calling the callback this way because earlier in the task, I make a `fs.access` call and call the `done` callback directly if I don't find a directory.
Unfortunately, the `end` event doesn't seem to be emitted. Is this intended?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the shown gulp-compass pipeline and inspect how its stream signals completion. Confirm whether the “end” event is emitted and document the expected completion behavior for the gulp task callback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100