You can use --cwd
like so yarn --cwd <path> <yarn command>
.
The order of arguments is important.
Example:
yarn --cwd ~/test_project/ dev
Because the following will not work:
yarn dev --cwd ~/test_project/
You can use --cwd
like so yarn --cwd <path> <yarn command>
.
The order of arguments is important.
Example:
yarn --cwd ~/test_project/ dev
Because the following will not work:
yarn dev --cwd ~/test_project/