James Allen 12 лет назад
Родитель
Сommit
22b13077b2
2 измененных файлов с 7 добавлено и 1 удалено
  1. 5 0
      services/docstore/Gruntfile.coffee
  2. 2 1
      services/docstore/package.json

+ 5 - 0
services/docstore/Gruntfile.coffee

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

+ 2 - 1
services/docstore/package.json

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