Open yocontra opened 10 years ago
There is probably a hacky way to do this, but I'm not sure if it exists within the scope of this project. Lets see what the result of https://github.com/chriseppstein/compass/issues/1499 is.
I'm going to write this I think. In the development branch, the compiler has now been separated from the rest of the system and is requirable as a separate module to the middleware, so this should definitely be possible.
I'll have a look into doing it, I'm going to put it under the 1.0 milestone as I'm pretty sure I can do it now using sass --compass
.
@nathggns Awesome! Keep me posted
:+1:
Working on this again now.
I should be able to give a string to the library and have it return CSS. Currently you can only give it a file path and it will handle reading and writing to the disk. For stuff like on the fly compilation and build system plugins this is really terrible. I know you aren't responsible for the way compass was designed but there has to be a hacky/creative way to solve the problem. Does compass take input via stdin?