Answer the question
In order to leave comments, you need to log in
How to make Live Reload and Sublime Text 2(LESS) friends?
I work as a Front-end, I get quite a lot of layout, and I would like to hear advice on how best to auto-save the file (without pressing Ctrl + S), LESS compilation (preferably with minification and concatenation), and the auto-refresh of the browser itself, something like Live Reload but it can't do anything with Less. Thanks a lot!
Answer the question
In order to leave comments, you need to log in
Yeoman +1, however there are quite a few nuances.
Also take a look at CodeKit - maybe that's what you need, it has the ability to compile preprocessors on the fly.
Another possible option is LiveStyle . Watch their video, everything is clear there.
live reloar monitors only changes to the current file, and less is a javascript compiler in a separate file, so you need something that will just stupidly reload the page on a timer (I've met such somewhere, and it's a matter of ten minutes to write it yourself). but I won’t say anything about the sublime, I’m almost sure there are similar plugins, look in the plugin manager.
Perhaps you should pay attention to Yeoman.
In grunt, you can set up a server with livereload (under less/haml/sass/jade/stylus etc) in 10-15 minutes.
Bower can be used to manage dependencies.
As an option - to compile less on the server side, the benefit of the tools is sufficient and "follow" the CSS file.
To mine LiveReload also does it.
If you work with CSS - definitely LiveStyle .
I already asked a question, I’ll ask here again, suddenly someone will help
whether it is possible to make friends with sass, less and livestyle? I want to start in preprocessors, but because very dependent on livestyle - it doesn't work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question