Using devcontainers for TS dev brings performance ...
# typescript
f
Using devcontainers for TS dev brings performance challenges when mounted workspace is in mounted Windows folder and node_modules are not in devcontainer/WSL filesystem. Does anyone have experience with adding all required NPM packages to the devcontainer image and reference those from the Pulumi TS project in the workspace?
l
Are you using WSL1? I thought WSL2 solved all those performance issues. Can you explain the environment in a bit more detail? Are you running Pulumi from containers in WSL2, and storing your shared files on a Windows filesystem? Or are the shared files in WSL2? Are you using podman, Docker Desktop, something else?
I have in the past run Pulumi from Docker in WSL2, with bind-mounts from the containers to the WSL filesystem. That never showed any performance issues.