-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi,
I just want to let you know that Forge has undocumented (hence unsupported) flags that may improve your dev loop.
DISABLE_TTY gets rid of the "the input device is not a TTY" issue.
FORGE_TUNNEL_MOUNT_DIRECTORIES allows consumers to add volumes to the docker image run by forge tunnel. So you can add the root node_modules folder as a volume.
I think the following command would improve the dev loop for your mono repo:
DISABLE_TTY=true FORGE_TUNNEL_MOUNT_DIRECTORIES=$(cd \"$(dirname \"../../../\")\"; pwd)/$(basename \"$1\")node_modules:/app/node_modules forge tunnel -d
There is no guarantee that those flags will be kept in the future. But at the moment it's working for me as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels