Using grunt-contrib-stylus with yeoman
-
Make every compiled
.stylfile goes to.tmpdirectory as a single.cssfile. -
Reference that generated
.cssfile in yourindex.htmlcssmin block, and left your others css as usual. -
Add
stylustask intoconcurrent:serverandbuildprocesses. -
Watch changes within
.stylfiles, and addstylustask to be executed.