Node.js에서 watch 프로세스를 두개 이상 띄우는 방법
Programmingconcurrently를 설치해서 사용하면 된다.
밑의 예제에서 cmdN
부분을 watch 프로세스를 띄우는 명령어로 교체해서 사용하면 된다.
npm install --save concurrently
npx concurrently "cmd1" "cmd2"
# OR
npm install -g concurrently
concurrently "cmd1" "cmd2"
'Programming' 카테고리의 다른 글
두개의 명령어 출력을 하나로 합치는 방법 (0) | 2020.03.18 |
---|---|
꼬리재귀(Tail Recursion)란 (0) | 2020.03.13 |
Alpine Linux에서 root 유저로 권한 변경하는법 (0) | 2020.02.12 |
Alpine Linux에서 일반유저로 도커 관리하는 방법 (0) | 2020.02.12 |
Alpine linux ERROR: unsatisfiable constraints: docker (missing): required by: world[docker] 오류 해결방법 (0) | 2020.02.12 |