Last active
September 8, 2017 17:21
-
-
Save niksumeiko/5943308 to your computer and use it in GitHub Desktop.
Handlebars templates watcher for WebStorm 6. Watcher complies Handlebars template file to a JavaScript file on every change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<TaskOptions> | |
<TaskOptions> | |
/* | |
* 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> | |
<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 /> | |
</TaskOptions> | |
</TaskOptions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment