diff --git a/services/track-changes/.gitignore b/services/track-changes/.gitignore index c39cd12b4d..5178f6093f 100644 --- a/services/track-changes/.gitignore +++ b/services/track-changes/.gitignore @@ -4,3 +4,4 @@ app/js app.js test/unit/js test/acceptance/js +forever/ diff --git a/services/track-changes/.travis.yml b/services/track-changes/.travis.yml index 06259acd5a..6adc08643a 100644 --- a/services/track-changes/.travis.yml +++ b/services/track-changes/.travis.yml @@ -11,7 +11,7 @@ install: - grunt install before_script: - - grunt run + - grunt forever:app:start script: - grunt test:unit diff --git a/services/track-changes/Gruntfile.coffee b/services/track-changes/Gruntfile.coffee index eda137d969..2488d2e8f3 100644 --- a/services/track-changes/Gruntfile.coffee +++ b/services/track-changes/Gruntfile.coffee @@ -5,8 +5,14 @@ module.exports = (grunt) -> grunt.loadNpmTasks 'grunt-available-tasks' grunt.loadNpmTasks 'grunt-execute' grunt.loadNpmTasks 'grunt-bunyan' + grunt.loadNpmTasks 'grunt-forever' grunt.initConfig + forever: + app: + options: + index: "app.js" + execute: app: src: "app.js" diff --git a/services/track-changes/package.json b/services/track-changes/package.json index 0c2e13c3cb..fdde105959 100644 --- a/services/track-changes/package.json +++ b/services/track-changes/package.json @@ -21,6 +21,7 @@ "grunt-available-tasks": "~0.4.2", "grunt-contrib-coffee": "~0.10.1", "bunyan": "~0.22.1", - "grunt-bunyan": "~0.5.0" + "grunt-bunyan": "~0.5.0", + "grunt-forever": "~0.4.2" } }