LESS filter

126 views
Skip to first unread message

tenable

unread,
Dec 18, 2009, 11:13:32 PM12/18/09
to nanoc
I never know how specific to get, but basically I have a style sheet
"content/styles.less". It's 100% classic CSS, despite the extension.

ROUTING
route '/styles/' do
'/css/' + item.identifier.gsub('/','') + '.css'
end

COMPILE
compile '/styles/' do
end

Everything works great like this! Even works great with the rainpress
filter. But as soon as I add the less filter (still 100% classic CSS
with the .less extension):

compile '/styles/' do
filter :less
end

Something breaks and my styles don't work. The stylesheet in "output/
css/styles.css" looks good, too! I can't find anything wrong with it.
And I know the path is good because it works perfectly without the
filter.

tenable

unread,
Dec 19, 2009, 4:51:22 AM12/19/09
to nanoc
I took a break from my project and when I came back to it, everything
worked fine! I think all I had to do was restart the server :p

Denis Defreyne

unread,
Dec 20, 2009, 6:34:40 AM12/20/09
to na...@googlegroups.com
On 19 Dec 2009, at 10:51, tenable wrote:

> I took a break from my project and when I came back to it, everything
> worked fine! I think all I had to do was restart the server :p

Hi,

That’s a bit odd. This may be a bug in the autocompiler, but I’d need more details in order to track it down. Anyway… glad to see that the issue’s gone now. :)

Regards,

Denis

--
Denis Defreyne
denis.d...@stoneship.org

Reply all
Reply to author
Forward
0 new messages