如何在后台运行离子 [英] How to run ionic in the background

查看:143
本文介绍了如何在后台运行离子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在后台运行离子服务,所以我可以通过我的rails应用程序在圆圈ci上测试它。我以为我可以这样做:

I am trying to run ionic serve in the background so I can test it via my rails app on circle ci. I thought I could do it with:

nohup bash -c "ionic serve --nolivereload --nobrowser &"

但不幸的是它不起作用。有谁知道如何在后台运行它?

But unfortunately it doesn't work. Does anyone know how to run it in the background?

推荐答案

你可以使用屏幕

screen -d -m -L ionic serve --nolivereload --nobrowser

这篇关于如何在后台运行离子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆