mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 17:33:38 +00:00
Add in grunt forever command
This commit is contained in:
parent
4adfcc0e5e
commit
22b13077b2
2 changed files with 7 additions and 1 deletions
|
@ -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']
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue