         "build/webapp/public/":           "#{app.paths.client}/index.html"
 
   reload: {}
-    
+  jaded:
+    files: "#{app.paths.app}/views/**/*.jade"
+  
   watch:
     test:
       files: "<config:test.files>"

      ]
      tasks: "copy reload"
    jaded:
      files: "build/webapp/client/templates/*.jade"
      tasks: "jaded reload"
    #jobs:
    #  files: "#{app.paths.app}/**/jobs/**/*.coffee"

    contract = coffee.eval (grunt.file.read file), bare: true
    require('shaman').start contract, path.resolve(__dirname, '..')

 ## grunt-jaded
  grunt.registerMultiTask "jaded", "compile jaded templates", ->
    jaded = require 'jaded'  
    files = grunt.file.expandFiles(@file.src)
    {basename, extname}  = require 'path'
    for file in files
      n = basename file, extname file
      template = jaded.compile grunt.file.read(file), 
        development: true
        rivets: false
        amd: true
        filename: file
      grunt.file.mkdir "#{app.paths.public}/views/"
      grunt.file.write "#{app.paths.public}/views/"+n+".tpl.js" , template

  ## grunt-mocha-node
  grunt.registerMultiTask "test", "Run unit tests with Mocha", ->
