           livereload: true
 
     clean:
-      public:
-        src: 'public'
-
-      tmp:
-        src: 'tmp'
-
-      jsmin:
-        src: 'public/script.min.js'
+      all: [
+        'tmp'
+        'public'
+      ]
+
+      build: [
+        'tmp'
+        'public/**/*.json'
+        'public/template.html'
+      ]
 
     copy:
       assets:

        src: '**/*.js'
        dest: 'tmp/'

      jsmin:
        src: 'public/script.min.js'
        dest: 'public/script.js'

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

    concat:

      default:
        closurePath: __dirname
        js: 'public/script.js'
        jsOutputFile: 'public/script.js'
        options:
          compilation_level: 'ADVANCED_OPTIMIZATIONS'
          language_in: 'ECMASCRIPT5_STRICT'
