UNPKG

timezone-country-region

Version:
39 lines (30 loc) 977 B
module.exports = (grunt) -> # load all grunt tasks require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks) # load package config pkg = grunt.file.readJSON('package.json') grunt.initConfig # nodemon nodemon: options: args: ['development'] nodeArgs: ['--debug'] watch: [ 'lib', 'test' ] legacyWatch: true # nodemon.test test: script: 'test/index.js' options: callback: (nodemon) -> nodemon.on 'log', (evt) -> console.log evt.colour nodemon.on 'restart', () -> console.log 'restart test.' # register task grunt.registerTask 'default', () -> grunt.task.run [ 'nodemon' ]