gruntjs/grunt-contrib-stylus

Can grunt compile the stylus file separately

yushengh opened this issue · 1 comments

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

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