     
     # Copies remaining files to places other tasks can use
     copy:
+      coffee:
+        files: [
+          expand: true,
+          dot: true,
+          cwd: '<%= yeoman.app %>/scripts',
+          dest: '.tmp/scripts',
+          src: '**/*.coffee'
+        ]
+
       dist:
         files: [
           expand: true

    
    # Compiles CoffeeScript to JavaScript
    coffee:
        dist:
            options:
                bare: true
                sourceMap: true
            files:
              ".tmp/scripts/alchemy.js": ["<%= yeoman.app %>/scripts/alchemy/defaultConf.coffee",
                                          "<%= yeoman.app %>/scripts/alchemy/init.coffee", 
                                          "<%= yeoman.app %>/scripts/alchemy/{,*/}*.{coffee,litcoffee,coffee.md}"]

      test:
        files: [

    
    # Run some tasks in parallel to speed up build process
    concurrent:
      server: ["compass:server", "copy:coffee", "coffee:dist", "copy:styles"]
      test: ["copy:coffee", "coffee", "copy:styles"]
      dist: ["copy:coffee", "coffee", "compass", "copy:styles", "imagemin", "svgmin"]

  grunt.registerTask "serve", (target) ->
    return grunt.task.run(["build", "connect:dist:keepalive"])  if target is "dist"
