         src: devCopySources
         dest: '.tmp'
         rename: (dest, src) -> "#{dest}/#{src.replace(/(backend-mock\/|\.json$)/g, '')}"
+      dev_less:
+        expand: true
+        cwd: 'app'
+        src: lessSources
+        dest: '.tmp'
+      dev_coffee:
+        expand: true
+        cwd: 'app'
+        src: coffeeSources
+        dest: '.tmp'
       dist:
         expand: true
         cwd: 'app'

        ext: '.js'
      dist:
        files:
          '.tmp/js/main.js': 'app/scripts/**/*.coffee'

    karma:
      options:


    watch:
      less:
        files: "app/#{lessSources}"
        tasks: ['copy:dev_less', 'less:dev']
      coffee:
        files: "app/#{coffeeSources}"
        tasks: ['copy:dev_coffee', 'coffee:dev']
      copy:
        files: devCopySources.map (src) -> "app/#{src}"
        tasks: ['copy:dev']
      htmlbuild:
        files: ['app/app.html']
        tasks: ['htmlbuild:dev']
