David Martin
02/11/2022, 7:48 PMnextjssite
in a monorepo. My goal is to decrease the amount of time it takes to start local SST debugging. Right now, it takes between 5-10 minutes to start a debug session. The nextjs part of my monorepo project is why it takes so long to start.
Does anyone know of a way I can start debugging without deploying the nextjs site? Or, perhaps, what if the nextjs construct had an option to skip invalidation, or perhaps it used regular lambda’s instead of edge lambdas to speed up the deployment? that kind of tradeoff would be fine in dev mode.Frank
NextjsSite
should only get re-deployed if u ran sst deploy
prior to running sst start
.Frank
sst start
, kill it, and then run sst start
again, NextjsSite
shouldn’t get deployed and sst start
should start up quickly.Frank
David Martin
02/11/2022, 8:15 PMDavid Martin
02/11/2022, 8:28 PMDavid Martin
02/11/2022, 8:30 PMDavid Martin
02/11/2022, 8:31 PMFrank
David Martin
02/11/2022, 8:35 PMFrank
disablePlaceholder
was set to true
. Removing it fixed the issue.David Martin
02/11/2022, 9:02 PM