Using LESS in pages, getStylesheet() points to wrong dir

Permalink
On this page:
http://www.concrete5.org/documentation/developers/5.7/designing-for...

It says to do this to use a LESS file:

<link href="<?=$view->getStylesheet('templatemo_style.less')?>" rel='stylesheet' type='text/css'>

But the problem is, $view->getStylesheet() uses a base path of /concrete/themes/mytheme, not /application/themes/mytheme. I'm thoroughly confused how to use the LESS parser. Any advice would be great

 
igorsydney1980 replied on at Permalink Reply
If this happens after you have just created new theme and added $view->getStylesheet('stylesheet.less'), clearing the cache will fix it.