I have two tsconfig.json, in the root and in the test folder:
.
├── dist
│ └── file...
├── dist-test
│ └── file...
├── src
│ └── file...
├── test
│ ├── file...
│ └── tsconfig.json
└── tsconfig.json
As you can guess, files from src compiling into dist and files from test compiling into dist-test folder.
From the root, I can to run tsc -w or tsc -w --project test for watching file changes. How can I run them at the same time (inside one terminal)?
I tried to do (tsc -w) && (tsc -w --project test), but not succeed. Only the first directive is being implemented and its compiled only dist.
UPD: My question is no duplicate How can I run multiple npm scripts in parallel?
because I work with one utility tsc which, I believe in this, can handle two projects at once. I do not need parallel processing with different programs.