           compileDebug: false
           client: true
           namespace: 'app.templates'
-          processName: (file)-> file.replace(/views\/client\/([\w\/]+).jade/gi, '$1').replace('/', '_')
-        src: ['views/client/*.jade', 'views/client/**/*.jade']
+          processName: (file)-> file.replace(/views\/client\/([\w\/]+).jade/gi, '$1')
+        src: ['views/client/**/*.jade']
         dest: 'public/assets/views.js'
 
 



    uglify:
      # options:
        # mangle: false
        # compress:
        #   dead_code: true
        # sourceMap: (file)-> file.replace(/\.js$/, '.map').replace(/\-min/, '')
        # sourceMappingURL: (file)-> file.replace(/\.js$/, '.map').replace(/^public/, '').replace(/\-min/, '')

      app:
        src: 'public/assets/app.js'
        dest: 'public/assets/app-min.js'

  grunt.loadNpmTasks('grunt-contrib-watch')

  # TODO:
  # 1. Update Jade compiler

  grunt.registerTask('default', [
    'clean'
