Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道有用于在任务中执行命令的 gulp 插件。我想要做的是运行 Gulp,在它观看文件的同时,我可以切换我的 git 分支,而无需打开新的终端选项卡,在那里执行命令,然后再切换回来。
您可以使用以下命令在后台模式下运行Gulp并将所有输出重定向到/dev/null
/dev/null
nohup gulp > /dev/null &