diff --git a/services/chat/Gruntfile.coffee b/services/chat/Gruntfile.coffee index 304d564a74..3496569094 100644 --- a/services/chat/Gruntfile.coffee +++ b/services/chat/Gruntfile.coffee @@ -2,6 +2,11 @@ module.exports = (grunt) -> # Project configuration. grunt.initConfig + forever: + app: + options: + index: "app.js" + execute: app: src: "app.js" @@ -134,6 +139,7 @@ module.exports = (grunt) -> grunt.loadNpmTasks 'grunt-plato' grunt.loadNpmTasks 'grunt-execute' grunt.loadNpmTasks 'grunt-bunyan' + grunt.loadNpmTasks 'grunt-forever' grunt.registerTask 'compile', ['clean', 'copy', 'coffee', 'less', 'jade', 'requirejs'] diff --git a/services/chat/package.json b/services/chat/package.json index bff540a7c0..2f3b2625a3 100644 --- a/services/chat/package.json +++ b/services/chat/package.json @@ -31,12 +31,13 @@ "grunt-contrib-requirejs": "~0.4.1", "grunt-contrib-uglify": "~0.2.7", "grunt-contrib-watch": "~0.5.3", - "grunt-requirejs": "~0.4.0", - "grunt-mocha-test": "~0.8.0", "grunt-execute": "^0.2.2", + "grunt-forever": "^0.4.7", + "grunt-mocha-test": "~0.8.0", "grunt-nodemon": "~0.1.2", "grunt-notify": "~0.2.16", "grunt-plato": "~0.2.1", + "grunt-requirejs": "~0.4.0", "sandboxed-module": "", "sinon": "", "timekeeper": ""