Skip to content

Single file compile by `grunt-contrig-watch`

Compare
Choose a tag to compare
@mpneuried mpneuried released this 16 Aug 07:28
· 12 commits to master since this release

Added single file compile wicth grunt-contib-watch.

But you have to turn of the spawn option of the watch module.

E.g:

{
  watch: {
    options: {
      spawn: false
    },
    soy: {
      files: ["_src/tmpls/*.soy"],
      tasks: ["soycompile:main"]
    }
  }
}

**Alternativly you can use the grunt-contrib-watch replacement grunt-regarde witch works since version 0.1.0 of grunt-soy-compile