title: how to use environment setting in jade+express
body: <p>I am using jade with express.</p>
  
  <p>In jade i want to inline css for production and link it for development mode, as shown below</p>
  
  <blockquote>
  <pre><code>- if(environment === 'development') {
      link(rel="stylesheet", href='styles/style.css')
  - } else {
      style(type="text/css")                                                                                                                        
        include ../public/styles/style.min.88b64eea.css
  - }
  </code></pre>
  </blockquote>
  
  <p>I am using grunt to generate compressed files(shown above style.min.88b64eea.css) in production mode. But in development mode loading uncompressed file.</p>
  
  <p>It works fine if i run my server(NodeJS) in production mode, but in development mode it gives error :
  <strong>ENOENT, no such file or directory 'style.min.88b64eea.css'.</strong></p>
  
  <p>What is wrong here? I am not sure how jade engine is handling it. Looks like it is parsing whole template file and failing for this file. If i am doing wrong, then what is the correct way of doing it?</p>