LearnBoost/stylus — Issue #486: Stylus with express not re-compiling
Author: jeromegn
Created: 2011-12-15 01:35:08+00:00
State: open

Not sure if it's idiocy or a bug but here's the situation.

I expected the stylesheets to re-compile as I modified them. As it uses to always do it.

I recently rewrote parts of my Express server config and now they don't re-compile. I only use the express.static middleware after the stylus middleware.

Other weirdnesses:
- They compile just fine if I delete the .css file;
- They also compile and re-compile just fine if I use the CLI with --watch;
- I started another project with a very similar configuration as this one, same Stylus version... but this time it recompiles.

I'm at a loss.

I'd show you code, but it's CoffeeScript. I know how much you like it :)