     if modified
       grunt.config 'assets', assets
       fs.writeFileSync('assets.json', JSON.stringify(assets, null, 4))
-    ###
 
   # React on single file
   grunt.event.on 'watch', (action, filepath, target) ->

fs = require 'fs'
module.exports = (grunt) ->
  # Task configuration
  grunt.initConfig
    pkg: grunt.file.readJSON 'package.json'
    assets: grunt.file.readJSON 'assets.json'

  fs = require 'fs'
  assets = grunt.file.readJSON 'assets.json'
  grunt.registerMultiTask 'assetver', 'Version assets', () ->
    rev = ''
    modified = false
    for file in @files
