this assumes that we do not need the output parameter as in server.watch('style.less', shell('lessc style.less', output='style.css'))
Juan Carlos
@juancarlospaco
that does not minify ?
Amit Upadhyay
@amitu
it minifies too.. basically any command you want.. i would keep it command based instead of import based, so any command can be used to minify etc
Juan Carlos
@juancarlospaco
it minify CSS and HTML too ?
whole folders ?
Amit Upadhyay
@amitu
like i said, CSS/JS mini-fication is done via commands.. key is a bunch of comma separated file globs, and value is the command to execute..
for HTML minification, well its not really job of live reload, its a completely separate topic, only meaningful in production.. so has to be handled by some decorator/middleware library..