コーヒーファイルがあります。変更する場合は、それだけをコンパイルする必要があります
watch:
compile:
files: ['**.coffee']
tasks: ['coffee:compile']
option:
nospawn: true
coffee:
compile: ['*.coffee']
grunt.event.on 'watch', (action,filepath)->
grunt.config ['coffee','compile'],filepath
上記の構成はhttps://github.com/gruntjs/grunt-contrib-watchからのものです が、機能しません。