This patch will allow the haml() plugin to process haml without requiring it to exist on the physical disk.
Instead of supplying the haml command with the path of an input file, we supply the switch -s, and write the haml to childprocess.stdin. This lets us do the following (for instance)
Earlier, since (the current version) plugin works by passing the absolute path of the haml source file, one would first have to write the output of replace to a temp folder.
This patch will allow the haml() plugin to process haml without requiring it to exist on the physical disk.
Instead of supplying the haml command with the path of an input file, we supply the switch -s, and write the haml to childprocess.stdin. This lets us do the following (for instance)
Earlier, since (the current version) plugin works by passing the absolute path of the haml source file, one would first have to write the output of replace to a temp folder.