sitefox.reloader

Functions to ensuring live-reloading works during development mode.

nbb-reloader

(nbb-reloader file callback)

Sets up filewatcher for development. Automatically re-evaluates this file on changes. Uses browser-sync to push changes to the browser. file can be a path (string) or a vec of strings.

sync-browser

(sync-browser host port & [files])

Sets up browser-sync for development. Hot-loads CSS and automatically refreshes on server code change.