           port: httpServerPort
           keepalive: true
           debug: true
-          base: 'public'
+          base: 'tmp'
           useAvailablePort: true
           open: true
           livereload: true
 
     copy:
-      devPublic:
+      devAssets:
         expand: true
         cwd: 'assets'
         src: ['**/*', '!css/**/*.<%= cssExt %>', '!js/**/*.coffee']
-        dest: 'public'
+        dest: 'tmp'
       devComponents:
           expand: true
           cwd: '.components'
           src: ['**/*', '!**/src/**']
-          dest: 'public/components'
+          dest: 'tmp/components'
       dist:
         files: [
           expand: true

    return false

  mapFile = (filepath) ->
    filepath = filepath.replace /^(assets|views)/, 'public'
    filepath = filepath.replace /\.<%= cssExt %>$/, '.css'
    filepath = filepath.replace /\.coffee$/, '.js'
    filepath = filepath.replace /\.<%= htmlExt %>$/, '.html'


  grunt.registerTask 'makeCopy', (env) ->
    if env == 'dev'
      grunt.task.run ["copy:devAssets", "copy:devComponents"]
    else
      grunt.task.run ["copy:dist"]

