Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Amit Upadhyay
    @amitu
    yo
    Leonardo Santagada
    @santagada
    this is nice
    Juan Carlos
    @juancarlospaco
    can we get LiveReload ?
    Amit Upadhyay
    @amitu
    yes we should.. i just discovered it..
    care to send a patch?
    Juan Carlos
    @juancarlospaco
    problem is the whole thing dont even starts... coffin import problem
    I can try downgrading the djangos
    Amit Upadhyay
    @amitu
    i think we can fix coffin too.. we can put what coffin is expecting in the module it is expecting in :-p
    i think we will need a dict as config, containing a bunch of "glob": "command" mappings
    Amit Upadhyay
    @amitu
    LR={"static/scss/*.scss,static/foundation/*.scss": "sassc -I static/foundation static/scss/main.scss > proj.css"}
    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..
    Juan Carlos
    @juancarlospaco
    good
    Amit Upadhyay
    @amitu
    should be easy to implement..
    https://github.com/lepture/python-livereload#django has already done most of the legwork..
    i think we should use livereload as the command name as shown in example there..
    Juan Carlos
    @juancarlospaco
    mines takes a whole folder and eats everything HTML/CSS/JS and output all compressed stripped, all one-liner
    good
    Amit Upadhyay
    @amitu
    :-) you can use that as an external command? if so you can use it..
    if i can't use it in my project, i suppose many would not be able to either.. command based interface is easiest, least limiting..
    i think..
    Kumar Anirudha
    @anistark
    hi amit. You there ?