forked from leny/grunt-supervisor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.coffee
53 lines (48 loc) · 1.35 KB
/
Gruntfile.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffee:
options:
bare: yes
tasks:
files:
"tasks/grunt-supervisor.js": "tasks/grunt-supervisor.coffee"
jshint:
options:
jshintrc: ".jshintrc"
tasks:
src: [
"tasks/**/*.js"
]
watch:
tasks:
files: "<%= jshint.tasks.src %>"
tasks: [
"coffee"
"jshint"
]
supervisor:
default:
options: {}
script: "test/fixture/server.js"
all_options:
options:
args: []
watch: [ "test" ]
ignore: [ "tasks" ]
pollInterval: 500
extensions: [ "js" ]
exec: "node"
debug: true
debugBrk: no
harmony: true
noRestartOn: no
forceWatch: true
quiet: no
script: "test/fixture/server.js"
grunt.loadTasks "tasks"
grunt.registerTask "default", [
"coffee"
"jshint"
]