         cwd: 'app/'
         src: '**/*.js'
         dest: 'tmp/'
-
-      paramsApp:
-        src: 'app/params.json'
-        dest: 'tmp/params.json'
-      paramsDev:
-        src: 'dev/params.json'
-        dest: 'tmp/params.json'
 
     concat:
       js:


    'copyComponentAssets'
    'copy:assets'
    # Copy over the app's params first, then the dev version, which takes
    # precedence
    'copy:paramsApp'
    'copy:paramsDev'
    'copy:dev'

    'compile:js'
    'compile:stylus'

      when 'index'
        grunt.task.run('copy:index')

      when 'dev'
        if NODE_ENV is 'dev'
          grunt.task.run('copy:dev')
          whenExists 'dev/params.json', (path) ->
            grunt.file.copy(path, 'tmp/params.json')
        else
          whenExists 'app/params.json', (path) ->
            grunt.file.copy(path, 'tmp/params.json')

      when 'params'
        whenExists 'tmp/params.json', (path) ->
