timdouglas/sublime-less2css

No compiled CSS file or error

Opened this issue · 1 comments

etune commented

All of the sudden the plugin stopped generating css files. Less is installed and I can manually compile files via command line.

I'm on Windows. The console windows pops up briefly like it normally does, but it doesn't compile the css.

Is there a more verbose way observing what's happening?

At first check whether you have all prerequisites installed (node.js, less, less-plugin-clean-css) by checking the installed versions with npm.

If that is the case:
I thought I have the same problem as you. Compilation was working; the file just was not put where I thought it would be put. Check the outputDir in your global settings. They seem to override project settings. Somehow project settings do not work for me.

So I had to change the outputDir in Preferences > Project Settings > Less2Css > Settings - User.

Still, this is annoying because I have to change this according to every project I'm working on. If anyone has tips for troubleshooting the problem that project settings are not working, let me know!

PS.: relative path specification like ../css doesn't seem to work