brackets-static-preview icon indicating copy to clipboard operation
brackets-static-preview copied to clipboard

Problem with Less AutoCompile

Open filippoferri opened this issue 10 years ago • 6 comments

I don't know why, but when I install this extension my Less AutoCompiler gives an error ("Invalid project compile settings"). Do you know if it's a common issue?

filippoferri avatar Oct 10 '14 09:10 filippoferri

This is the first time I hear of this problem. Is there a stack trace available?

sbruchmann avatar Oct 10 '14 14:10 sbruchmann

The problem is in brackets.json... if I remove: { "sbruchmann.staticpreview.basepath": "...myPath..." } from my brackets.json the auto compiler works... no more warnings

I haven't idea why

filippoferri avatar Oct 10 '14 16:10 filippoferri

Weird. I’ll take a look.

sbruchmann avatar Oct 10 '14 19:10 sbruchmann

@filippoferri Mind creating a gist with the complete contents of brackets.json before you’ve removed the "sbruchmann.staticpreview.basepath": … line and posting its link here? Thanks in advance. (Don’t forget to remove sensitive information!)

sbruchmann avatar Oct 10 '14 19:10 sbruchmann

My brackets.json file is totally empty in my project folder. The only code I have it's "sbruchmann.staticpreview.basepath": … that creates some conflict with less. When I remove the code {...} both extensions (less autocompiler and static preview) work. It's really weird...

filippoferri avatar Oct 10 '14 20:10 filippoferri

There was no way I could reproduce this issue, but I’ll refactor the settings management in 2.0.0 anyway, so maybe the bug will be fixed by then. Fingers crossed!

sbruchmann avatar Jan 07 '15 23:01 sbruchmann