UNPKG

448 Btext/coffeescriptView Raw
1module.exports = (grunt) ->
2
3 # Project configuration.
4 grunt.initConfig
5 watch:
6 files: './src/*.coffee'
7 tasks: 'coffee'
8 coffee:
9 glob_to_multiple:
10 expand: true
11 cwd: './src'
12 src: ['*.coffee']
13 dest: './js'
14 ext: '.js'
15
16 # Load plugins...
17 grunt.loadNpmTasks('grunt-contrib-coffee')
18 grunt.loadNpmTasks('grunt-contrib-watch')
19
20 # Run tasks
21 grunt.registerTask('default', 'watch')