Closed mishterk closed 8 years ago
Any takers on this one?
.... anyone??
I had the same issue, setting relativeAssets to true fixed the problem for me. But yes, this is a confusing discrepancy.
Yeah – that was where I ended up as well. Works well with relativeAssets set to true, but I'm surprised that noone has an answer for this.
Hi there,
I'm new to Grunt – loving it so far (bye bye Codekit) – but I'm having an issue where the output of any compass url helpers (image-url(), font-url()) contains the incorrect path. Here is my gruntfile;
When I run
grunt dev
Grunt runs without any warnings, but the output of the compass url helpers is always missing the directory where the gruntfile exists.When I add the directory in as follows ...
... the resulting output is correct, yet grunt throws a series of warnings saying that it can't find the resources. An example of the error is as follows;
WARNING: 'Brown-Regular.eot' was not found (or cannot be read) in /Applications/MAMP/htdocs/website.com.au/website/content/themes/mydirectory/mydirectory/fonts
So it seems there is some disparity between where compass thinks the httpPath is and where Grunt thinks it is in my project, but I'm not sure how to fix this.