module.exports = function (grunt) {

	grunt.initConfig({

		meta: {
			banner: '// ' + grunt.file.read('LICENSE').split("\n")[0]
		},

		coffee: {
			compile: {
				files: {
					'lib/x18n.js': ['lib/observable.coffee', 'lib/x18n.coffee'],
					'spec/spec.js': 'spec/spec.coffee'
				}
			}
		},

		concat: {
			dist: {
				src: ['<banner>', 'lib/x18n.js'],
				dest: 'lib/x18n.js'
			}
		},

		mocha: {
			all: {
				src: 'spec/index.html',
				run: true
			}
		}

	});

	grunt.loadNpmTasks('grunt-contrib-coffee');
	grunt.loadNpmTasks('grunt-mocha');

	grunt.registerTask('test', 'mocha');
	grunt.registerTask('release', 'coffee concat');
	grunt.registerTask('default', 'release');

};
@@ -454,16 +454,103 @@
 ue%0A%09%09%09%7D%0A
+%09%09%7D,%0A%0A%09%09watch: %7B%0A%09%09%09files: %5B'lib/x18n.coffee', 'spec/spec.coffee'%5D,%0A%09%09%09tasks: 'coffee'%0A
 %09%09%7D%0A%0A%09%7D)

add watch task