handlebar-rider

Compiles/watches a directory of handlebar templates files and precompiles into single js output file

handlebar-rider

Command line tool that will watch a handlebars template directory pre-compile containing handlebars template files and concatenate them into a single javascript file in build/public.

Templates will be available in Handlebars.templates.filename (without the extension). See Handlebars Precompiler documentation for more info.

Install:

git clone https://github.com/cif/handlebar-rider.git
cd handlebar-rider
    npm install -g .

Usage:

handlebar-rider path/to/your/handlebars/dir/

options:
        
        --out   The destination file to compile your templates to.  Default is public/javascript/templates.js
        
        --readable  This will avoid uglifying your output javascript.