Note that there are some explanatory texts on larger screens.

plurals
  1. POSet a custom images path in Scout
    text
    copied!<p>I'm using the Scout app on Windows 7 to easily work with SASS/Compass. I'm having some incredibly annoying experiences trying to customize the images path that Scout should use. </p> <p>The Scount configuration UI actually offers a field to set my images path, so I set it to something like this:</p> <p><strong>c:\myproject\img</strong></p> <p>Next I use a rule in my .SCSS file, for example:</p> <pre><code>@include background(image-url("bg_skin.png")); </code></pre> <p>This compiles into CSS having an image path like this:</p> <p><strong>/images/img/bg_skin.png</strong></p> <p>Which obviously breaks my image path. I think I am missing the logic here of why I am given the option to set a path, after which it is completely overruled anyway.</p> <p>As more users seem to have this issue, an update was released:</p> <p><a href="http://www.continuousthinking.com/2012/05/14/scoutapp-0-6-0-rc1.html" rel="nofollow">http://www.continuousthinking.com/2012/05/14/scoutapp-0-6-0-rc1.html</a></p> <p>This update allows one to create a custom config file to set paths and such, which will then be used. So I created that file and tell Scout to use it:</p> <pre><code>images_dir = "../img" </code></pre> <p>This compiles into image paths in the CSS like this:</p> <p><strong>/../img/bg_skin.png</strong></p> <p>Note the leading slash. Again a user-configured path is overruled and again it breaks my path. All I want to do is to tell Scout to use my "img" directory. This drives me insane.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload