Skip to content

Instantly share code, notes, and snippets.

Last active September 8, 2017 17:21
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Handlebars templates watcher for WebStorm 6. Watcher complies Handlebars template file to a JavaScript file on every change.
<?xml version="1.0" encoding="UTF-8"?>
* Compiled .js files are saved into generated '/compiled' folder.
<option name="arguments" value="$FileDir$/$FileName$ -f $FileDir$/compiled/$FileNameWithoutExtension$.js" />
<option name="checkSyntaxErrors" value="false" />
<option name="description" value="Compiles .handlebars, .hbs templates into .js files" />
<option name="exitCodeBehavior" value="ERROR" />
* Compiles all .hadlebars, .hbs and .mustache file types.
<option name="fileExtension" value="handlebars;hbs;mustache" />
<option name="immediateSync" value="true" />
<option name="name" value="Handlebars" />
<option name="output" value="" />
<option name="outputFilters">
<array />
<option name="outputFromStdout" value="false" />
<option name="passParentEnvs" value="true" />
* Location of your handlebars installation on Mac.
* If Handlebars are installed localy without -g flag, change the location
* of the installation to the local one.
* If on Windows, change the colcation accordingly as well.
<option name="program" value="/usr/local/bin/handlebars" />
<option name="scopeName" value="Project Files" />
<option name="trackOnlyRoot" value="false" />
<option name="workingDir" value="" />
<envs />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment