I am building an electron + typescript + react app. At one of the blogs I see they have used tsc -p electron
I am totally confused what -p is used for? is it something related to plugins?
"electron:dev": "concurrently -k \"cross-env BROWSER=none npm start\" \"wait-on http://127.0.0.1:3000 && tsc -p electron && electron .\" ",
I tried searching for the possible explanation in typescript docs but couldn't find any reference for tsc -p
.
Thanks to @Tobias S. for answering.
-p is the shortcut for --project
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.