CrossClj

0.2.0 docs

SourceDocs



RECENT
    VARS
    any-modified
    any-modified-clj
    any-modified-cljs
    descendants-ending-with
    last-compile
    reload-clj
    watch-cljs

    « Index of all namespaces of this project

    *** LIFTED FROM CLOJURESCRIPTONE ***
    Contains functions which implement Clojure and ClojureScript code
    reloading.
    
    When any watched Clojure file changes, all watched Clojure files
    will be recompiled. If any ClojureScript file changes or if any
    template file changes, all ClojureScript files will be recompiled.
    
    Recompilation only happens on page reloads.
    Private
    (any-modified k files)
    Private
    (any-modified-clj files)
    Private
    (any-modified-cljs dir k)
    Private
    (descendants-ending-with dir ext)
    Return a seq of File objects that are descendants of dir that end
    with extension ext.
    (reload-clj handler files)
    Ring middleware which watches a list of Clojure files for changes
    and recompiles all of them when any of the files change.
    (watch-cljs handler config)
    Ring middleware which watches dir for changes to ClojureScript
    source files and template HTML files. When changes are detected,
    recompiles only the ClojureScript and template files (not the
    Clojure files) using a build configuration derived from config.