         base: 'build/<%= relativePath %>'
       src: ['**']
 
-    uglify:
-      options:
-        banner: "/*! #{pkg.name} - v#{pkg.version} - #{pkg.homepage} */\n"
+    coffee:
+      dist:
+        files: [
+          expand: true
+          cwd: 'src/script'
+          src: ['**/*.coffee']
+          dest: "./"
+          rename: (path, filename) ->
+            path + filename.replace("coffee", "js")
+        ]
 
     watch:
+      coffee:
+        files: ['src/script/**/*.coffee']
+        tasks: ['coffee:main']
       main:
         tasks: ['webpack:main', 'copy:main', 'copy:dev']
 

    open: false
    copyIgnore: ['!script/**/*.js', '!script/{countries}']

  delete defaultConfig.watch.coffee

  uglifyOptions =
    mangle: false
    warnings: false
    compress:
      warnings: false

  webpackPlugins = [ new webpack.optimize.CommonsChunkPlugin("vtex-phone.js") ]
  webpackPlugins = []


    build: ['clean', 'webpack:main', 'copy:main', 'copy:dev', 'copy:pkg']
    test: ['mochaTest']
    # Deploy tasks
    dist: ['coffee:dist'] # Dist
    publish: ['build', 'test', 'gh-pages'] # Publish to Github Pages
    # Development tasks
    dev: ['nolr', 'build', 'test', 'watch']
