[Tool] Open Multiple Terminal Tabs on npm Start with ttab and npm-run-all
Posted answer1215
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Tool] Open Multiple Terminal Tabs on npm Start with ttab and npm-run-all相关的知识,希望对你有一定的参考价值。
Often times when developing web applications, you need to open multiple tabs to run different scripts to start the application. This can all be done with one command
In this lesson, you will learn how to start a project and open multiple terminal tabs with one npm script.
Valid for macOS users.
Install:
npm i -D ttab npm-run-all
"scripts": { "start": "run-s tab:build:js tab:backend open:page", "build:js": "echo ‘Webpack dev server started...‘", "backend": "echo ‘Backend started...‘", "tab:build:js": "ttab -t ‘Build JS‘ npm run build:js", "tab:backend": "ttab -t ‘Java Server‘ npm run backend" },
When you run ‘npm start‘, it will open two tabs run the FE and BE
以上是关于[Tool] Open Multiple Terminal Tabs on npm Start with ttab and npm-run-all的主要内容,如果未能解决你的问题,请参考以下文章
Recommended the : Open Source Requirements Management Tool (OSRMT)
eltwise sum over multiple channels 逐通道的相加in Caffe