C
C
Crazyfan2013-12-07 22:03:48
css
Crazyfan, 2013-12-07 22:03:48

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

7 answer(s)
T
The Whiz, 2013-12-08
@modernstyle

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.

S
sasha, 2013-12-07
@madmages

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.

Y
Yuri Yarosh, 2013-12-08
@d00mko

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.

C
Crazyfan, 2013-12-08
@Crazyfan

maybe someone did it with Subline Text plugins?

P
Pavel Belousov, 2013-12-12
@PafNutY

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 .

E
elmander, 2013-12-16
@elmander

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.

C
Crazyfan, 2013-12-17
@Crazyfan

Thank you all, I found a way out in the compilation through the winLess program and everything started working fine, thanks again to everyone

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question