diff --git a/services/docstore/Gruntfile.coffee b/services/docstore/Gruntfile.coffee index 6c4eaf711b..099955bc9b 100644 --- a/services/docstore/Gruntfile.coffee +++ b/services/docstore/Gruntfile.coffee @@ -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'] diff --git a/services/docstore/package.json b/services/docstore/package.json index efad89535d..02466a9fd7 100644 --- a/services/docstore/package.json +++ b/services/docstore/package.json @@ -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" } }