 
       params:
         src: [
-          'public/script.js'
-          'public/params.js'
+          'tmp/script.js'
+          'tmp/params.js'
         ]
         dest: 'public/script.js'
 

          grunt.task.run('copy:dev')

      when 'params'
        whenExists 'public/params.json', (path) ->
          content =
            'module.params = ' +
            JSON.stringify(grunt.file.readJSON(path), null, '  ') +
            ';'
          grunt.file.write('public/params.js', content)

  grunt.registerTask 'compile', (type) ->
    switch type


      params:
        src: 'app/params.json'
        dest: 'tmp/params.json'

    concat:
      js:
