提交 f08d8235 编写于 作者: P Piotr Bryk

Merge pull request #197 from bryk/serve-prod

Make serve:prod task use non-docker backend binary
......@@ -130,9 +130,9 @@ gulp.task('spawn-backend', ['backend', 'kill-backend'], function() {
* backend process is killed beforehand, if any. In production the backend does serve the frontend
* pages as well.
*/
gulp.task('spawn-backend:prod', ['build-frontend', 'backend:prod', 'kill-backend'], function() {
gulp.task('spawn-backend:prod', ['build-frontend', 'backend', 'kill-backend'], function() {
runningBackendProcess = child.spawn(
path.join(conf.paths.dist, conf.backend.binaryName),
path.join(conf.paths.serve, conf.backend.binaryName),
[
`--apiserver-host=http://${conf.backend.apiServerHost}`,
`--port=${conf.frontend.serverPort}`,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册