compress to 7 levels and only watch public files

This commit is contained in:
Henry Oswald 2016-06-18 19:16:45 +01:00
parent b1e4af098d
commit 4fc9c9a263

View file

@ -28,7 +28,7 @@ module.exports = (grunt) ->
watch:
coffee:
files: '**/*.coffee'
files: 'public/**/*.coffee'
tasks: ['quickcompile:coffee']
options: {}
@ -47,14 +47,17 @@ module.exports = (grunt) ->
imagemin:
dynamic: {
dynamic:
files: [{
expand: true
cwd: 'public/img/'
src: ['**/*.{png,jpg,gif}']
dest: 'public/img/'
}]
}
options:
optimizationLevel: 7
coffee:
app_dir: