Add in grunt forever command

This commit is contained in:
James Allen 2014-04-28 16:53:51 +01:00
parent 4adfcc0e5e
commit 22b13077b2
2 changed files with 7 additions and 1 deletions

View file

@ -2,6 +2,10 @@ spawn = require("child_process").spawn
module.exports = (grunt) ->
grunt.initConfig
forever:
app:
options:
index: "app.js"
coffee:
app_src:
expand: true,
@ -69,6 +73,7 @@ module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-shell'
grunt.loadNpmTasks 'grunt-execute'
grunt.loadNpmTasks 'grunt-bunyan'
grunt.loadNpmTasks 'grunt-forever'
grunt.registerTask 'compile:app', ['clean:app', 'coffee:app', 'coffee:app_src', 'coffee:smoke_tests']
grunt.registerTask 'run', ['compile:app', 'bunyan', 'execute']

View file

@ -20,6 +20,7 @@
"grunt-bunyan": "~0.5.0",
"sinon": "~1.5.2",
"sandboxed-module": "~0.3.0",
"chai": "~1.9.1"
"chai": "~1.9.1",
"grunt-forever": "~0.4.4"
}
}