nnoremap ,m :w <BAR> !lessc % > %:t:r.css<CR><space>
it is incorrect for open fullpath less, such as vim static/css/base.less
And press ,m, the base.css file vim ouput in static directory
so, you should use: nnoremap ,m :w <BAR> !lessc % > %:p:r.css<CR><space>