tdreyno/middleman — Issue #153: Stylesheets not being compiled on first build, but works on second try
Author: pilaf
Created: 2011-11-14 14:36:51+00:00
State: open

I'm using Sass for my stylesheets, which are all named file.css.sass under source/stylesheets. All settings are set to default.

When I run `middleman build` it builds everything fine, except it skips over the stylesheets completely. If after having ran the first build I run `middleman build` again the stylesheets now appear in the build.

This happens in both 2.0.13 and 2.0.14.

Here's the output of running two builds:

```
[pilaf@bmo quovis-website]$ middleman build
exist build
create build/portfolio.html
create build/images/header-bg.png
create build/images/sub-footer-bg.png
create build/images/content-bg-2.png
create build/images/coming-soon/bg.png
create build/images/coming-soon/logo.png
create build/images/coming-soon/hbar.png
create build/images/coming-soon/light.png
create build/images/features-spotlight.png
create build/images/index/guitar.png
create build/images/index/iphone.png
create build/images/index/shaolin.png
create build/images/index/arrows.png
create build/images/index/rails-train.png
create build/images/index/map-pin.png
create build/images/index/ability-bg.png
create build/images/index/ability-buttons.png
create build/images/index/laptop.png
create build/images/index/ability-icons.png
create build/images/team-q.png
create build/images/footer-bg-glow-right.png
create build/images/footer-bg-glow-left.png
create build/images/bg.png
create build/images/features-bg.png
create build/images/dialog-box.png
create build/images/logo-bw.png
create build/images/logo.png
create build/images/footer-bg.png
create build/images/email.png
create build/images/phone.png
create build/images/twitter-bird-footer.png
create build/images/envelope.png
create build/images/team/twitter.png
create build/images/team/linkedin.png
create build/images/team/skype.png
create build/images/team/pd.jpg
create build/images/team/marquete-small.jpg
create build/images/team/francisco-small.jpg
create build/images/team/pablo-small.jpg
create build/images/team/milhouse-small.jpg
create build/images/team/ft.jpg
create build/images/team/facebook.png
create build/images/team/dani-small.jpg
create build/images/team/mn.jpg
create build/images/team/pedro-small.jpg
create build/images/team/mp.jpg
create build/images/favicon.png
create build/images/content-bg.jpg
create build/fonts/Existence-Light.svg
create build/fonts/stylesheet.css
create build/fonts/Existence-Light.ttf
create build/fonts/Existence-Light.eot
create build/fonts/Existence-Light.woff
create build/the-team.html
create build/index.html
create build/about.html
create build/get-in-touch.html
create build/coming-soon.html
create build/javascripts/application.js
create build/javascripts/vendor/CSSAnimation.MooTools.js
create build/javascripts/vendor/CSSAnimation.js
create build/javascripts/vendor/mootools-more-1.4.0.1.js
[pilaf@bmo quovis-website]$ middleman build
exist build
create build/stylesheets/the-team.css
create build/stylesheets/site.css
create build/stylesheets/coming-soon.css
create build/stylesheets/index.css
identical build/portfolio.html
identical build/images/header-bg.png
identical build/images/sub-footer-bg.png
identical build/images/content-bg-2.png
identical build/images/coming-soon/bg.png
identical build/images/coming-soon/logo.png
identical build/images/coming-soon/hbar.png
identical build/images/coming-soon/light.png
identical build/images/features-spotlight.png
identical build/images/index/guitar.png
identical build/images/index/iphone.png
identical build/images/index/shaolin.png
identical build/images/index/arrows.png
identical build/images/index/rails-train.png
identical build/images/index/map-pin.png
identical build/images/index/ability-bg.png
identical build/images/index/ability-buttons.png
identical build/images/index/laptop.png
identical build/images/index/ability-icons.png
identical build/images/team-q.png
identical build/images/footer-bg-glow-right.png
identical build/images/footer-bg-glow-left.png
identical build/images/bg.png
identical build/images/features-bg.png
identical build/images/dialog-box.png
identical build/images/logo-bw.png
identical build/images/logo.png
identical build/images/footer-bg.png
identical build/images/email.png
identical build/images/phone.png
identical build/images/twitter-bird-footer.png
identical build/images/envelope.png
identical build/images/team/twitter.png
identical build/images/team/linkedin.png
identical build/images/team/skype.png
identical build/images/team/pd.jpg
identical build/images/team/marquete-small.jpg
identical build/images/team/francisco-small.jpg
identical build/images/team/pablo-small.jpg
identical build/images/team/milhouse-small.jpg
identical build/images/team/ft.jpg
identical build/images/team/facebook.png
identical build/images/team/dani-small.jpg
identical build/images/team/mn.jpg
identical build/images/team/pedro-small.jpg
identical build/images/team/mp.jpg
identical build/images/favicon.png
identical build/images/content-bg.jpg
identical build/fonts/Existence-Light.svg
identical build/fonts/stylesheet.css
identical build/fonts/Existence-Light.ttf
identical build/fonts/Existence-Light.eot
identical build/fonts/Existence-Light.woff
force build/the-team.html
identical build/index.html
force build/about.html
identical build/get-in-touch.html
identical build/coming-soon.html
identical build/javascripts/application.js
identical build/javascripts/vendor/CSSAnimation.MooTools.js
identical build/javascripts/vendor/CSSAnimation.js
identical build/javascripts/vendor/mootools-more-1.4.0.1.js
```