cheshire137 / gulp-ruby-haml

Haml plugin for Gulp that uses the Ruby Haml gem.
https://www.npmjs.com/package/gulp-ruby-haml
MIT License
27 stars 13 forks source link

Let haml be piped into plugin without first writing to physical disk #10

Closed akshat1 closed 9 years ago

akshat1 commented 9 years ago

Currently, the plugin only supports compilation of haml files which exist on the physical disk. However, we may want to pipe haml from one plugin (say, from replace) into haml() without first writing on the disk.

Passing the switch -s and supplying haml from the stdin to the haml command will accomplish this.