     watch:
       assets:
         files: ['assets/**/*', '!assets/css/**/*.<%= cssExt %>','!assets/js/**/*.coffee']
-        tasks: ['newer:copy:devAssets']
+        tasks: ['newer:copy:tmpAssets']
         options:
           event: ['changed']
       assetsGlob:
         files: ['assets/**/*', '!assets/css/**/*.<%= cssExt %>', '!assets/js/**/*.coffee']
-        tasks: ['copy:devAssets', 'brerror:<%= htmlTask %>:dev', 'glob:dev']
+        tasks: ['copy:tmpAssets', 'brerror:<%= htmlTask %>:tmp', 'glob:tmp']
         options:
           event: ['added', 'deleted']
       coffee:
         cwd: 'assets/js'
         files: 'assets/js/**/*.coffee'
-        tasks: ['brerror:newer:coffee:dev']
+        tasks: ['brerror:newer:coffee:tmp']
         options:
           event: ['changed']
       coffeeGlob:
         cwd: 'assets/js'
         files: 'assets/js/**/*.coffee'
-        tasks: ['brerror:newer:coffee:dev', 'brerror:<%= htmlTask %>:dev', 'glob:dev']
+        tasks: ['brerror:newer:coffee:tmp', 'brerror:<%= htmlTask %>:tmp', 'glob:tmp']
         options:
           event: ['added', 'deleted']
       stylesheets:
         cwd: 'assets/css'
         files: 'assets/css/**/*.<%= cssExt %>'
-        tasks: ['brerror:newer:<%= cssTask %>:dev']
+        tasks: ['brerror:newer:<%= cssTask %>:tmp']
         options:
           event: ['changed']
       stylesheetsGlob:
         cwd: 'assets/css'
         files: 'assets/css/**/*.<%= cssExt %>'
-        tasks: ['brerror:newer:<%= cssTask %>:dev', 'brerror:<%= htmlTask %>:dev', 'glob:dev']
+        tasks: ['brerror:newer:<%= cssTask %>:tmp', 'brerror:<%= htmlTask %>:tmp', 'glob:tmp']
         options:
           event: ['added', 'deleted']
       views:
         cwd: 'views'
         files: 'views/**/*.<%= htmlExt %>'
-        tasks: ['brerror:newer:<%= htmlTask %>:dev', 'glob:dev']
+        tasks: ['brerror:newer:<%= htmlTask %>:tmp', 'glob:tmp']
       options:
         livereload: livereloadPort
 
     coffee:
-      dev:
+      tmp:
         files: coffeeFiles
+      dev:
+        files: coffeeDistFiles
       dist:
         files: coffeeDistFiles
 
 <% if(options.css === 'stylus') { %>
     stylus:
-      dev:
+      tmp:
         files: cssFiles
         options:
           compress: false
-      dist:
-        files: cssDistFiles
-        options:
-          compress: true
+      dev:
+        files: cssDistFiles
+        options:
+          compress: false
+      dist:
+        files: cssDistFiles
       options:
         use: [
           require 'axis-css'
         ]
 <% } else if(options.css === 'less') { %>
     less:
-      dev:
+      tmp:
         files: cssFiles
-      dist:
-        files: cssDistFiles
+      dev:
+        files: cssDistFiles
+      dist:
+        files: cssDistFiles
+        options:
+          compress: true
 <% } if(options.html === 'jade') { %>
     jade:
-      dev:
+      tmp:
         files: htmlFiles
+        options:
+          pretty: true
+      dev:
+        files: htmlDistFiles
         options:
           pretty: true
       dist:

  ]

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

  grunt.registerTask 'compile:dev', compileTasks('dev')
  grunt.registerTask 'compile:dist', compileTasks('dist')

  grunt.registerTask 'default', ['compile:dev', 'concurrent:start']

          include(compile)

    clean:
      tmp: ['tmp']
      dist: ['dist']
      dev: ['dist']

    glob:
      tmp:
        files: globFiles
      dev:
        files: globDistFiles
      dist:
        files: globDistFiles
        options:
          concat: true
          minify: true
