There is a system plugin which automatically compiles the LESS files on the server if something changed and generates the CSS from it. You then just include the compiled CSS in your template. The plugin is on the JED: http://extensions.joomla.org/extensions/miscellaneous/development/22424
This may fit your needs as well and may be easier in the end.