Predefined port for apps/ #1273
-
How to set up apps/ projects running on same port? .env |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Figured it out: set |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to define ports for all apps in a single config file? For example in turbo.json. We have many apps in our monorepo and would like to be able to easily see what app is running under what port. Would make adding a new app and port easier as well. |
Beta Was this translation helpful? Give feedback.
Figured it out: set
next run dev -p 3000
(or 3001) in apps/app/packages.json and apps/landing/packages.json