       dist: ['<%= DIST_DIR %>']
 
     copy:
+      build:
+        files: [
+          src: ['<%= JS_DIR %>**', 'index.html', '<%= CSS_DIR %>**', '<%= ASSETS_DIR %>**']
+          expand: true
+          dest: '<%= DEV_DIR %>'
+        ]
       assets:
         files: [
           src: ['<%= ASSETS_DIR %>**']


      js:
        files: ['<%= JS_DIR %>**/*.js', '!<%= JS_LIBS_DIR %>**/*.js']
        tasks: ['jshint', 'uglify']

  @loadNpmTasks 'grunt-contrib-copy'
  @loadNpmTasks 'grunt-contrib-clean'

  @loadNpmTasks 'grunt-express'


  @registerTask 'server', ['copy:build', 'express', 'watch']
  @registerTask 'default', ['clean', 'jshint', 'uglify', 'cssmin', 'processhtml', 'htmlmin', 'copy']
