I faced a problem while using Google Closure Soy templates. When I change a template I need to run a script from command line to compile Soy template to JS file. Is there a service or something else to rebuild these templates automatically?
Also, as far as I know, "plovr" service is able to rebuild JS sources with closure compiler automatically. Is there a way to rebuild soy templates and put them to specified folder by plovr automatically?
Plovr will automatically compile Closure Templates (soy files) along with JavaScript sources.
If your project had the following file structure, you could use the plovr config file shown below.
plovr_config.json
During development, you would configure a
<script>
tag in your HTML file to automatically recompile your JavaScript and Closure Templates after launching the plovr server:index.html