Using grunt-contrib-stylus with yeoman
-
Make every compiled
.styl
file goes to.tmp
directory as a single.css
file. -
Reference that generated
.css
file in yourindex.html
cssmin block, and left your others css as usual. -
Add
stylus
task intoconcurrent:server
andbuild
processes. -
Watch changes within
.styl
files, and addstylus
task to be executed.