gruntjs / grunt-contrib-stylus

Compile Stylus files to CSS.
http://gruntjs.com/
MIT License
174 stars 70 forks source link

Can grunt compile the stylus file separately #137

Closed yushengh closed 9 years ago

yushengh commented 9 years ago

When grunt run compiling a stylus directory. It will run similar like stylus directory/ Can grunt run like stylus file1.styl, stylus file2.styl, stylus file3.styl separately and each of the compiling are parallel so that each of them will not influence each other?

directory/ 
    file1.styl
    file2.styl
    file3.styl
shama commented 9 years ago

Please use expand: true. See this section in the Grunt docs: http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically