twolfson/gulp.spritesmith — pull request #16 by elentok (2014-08-28 20:55:32+00:00)
Title: Convert to idiomatic-gulp approach

The plugin now returns 3 streams:

* main stream which includes both css and image files
* "img" stream (only images)
* "css" stream (only css)

The code should still be backward compatible.

This fixes two problems:

1. Now the output can be piped into other plugins.
2. In the previous technique gulp can never tell if the task has
actually completed because it doesn't have a stream to test.

See orchestrator's runTask for more information:
https://github.com/orchestrator/orchestrator/blob/master/lib/runTask.js