-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I just ran into 2 problems
If you use app.enable('merge stylesheets') the compiler will traverse the stylesheet folders
and try to precompile all stylesheets, even though they may never be needed directly.
I require a lot of my .styl-files in my main .styl-file, so they don't need to be precompiled. Only solution I can come up with is a naming convention for example _filename.styl wont be precompiled but filename.styl will.
the other problem is regarding using stylus with co-nib. When the compiler tries to precompile all the stylesheets co-nib has not yet run so the nib-path has not yet been added and therefore stylus cant require nib. is it possible to just flag the server for precompilation and do it as soon as the initialization process is done? if you try to add co-nib before co-assets-compiler in autoload.js co-nib will tell you that the assetscompiler is not loaded yet (: