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


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

    shell:
      package:


      launch:
        command: ->
          appid = grunt.config.get 'APP_ID'

          if (!appid)
            return grunt.task.clearQueue().run(['shell:getid', 'shell:launch'])

          appname = @config.get 'APP_NAME'

          if appid
            "webtizen -r -i #{appid}.#{appname}"

      uninstall:
        command: ->
          appid = @config.get 'APP_ID'
          if appid
            "webtizen -u -i #{appid}"

      debug:
        command: ->
          appid = @config.get 'APP_ID'
          if appid
            "webtizen -d -i #{appid}"

