David Martin
08/13/2021, 7:45 PMthdxr
08/13/2021, 7:48 PMtarget
flag. I did use this once in a while. I'm not sure if that's entirely possible with how CDK worksthdxr
08/13/2021, 7:49 PMDavid Martin
08/13/2021, 8:02 PMserverless deploy
function can update a lambda in about 2-3 seconds.
Why can’t I use local debugging as much as I’d like? Well, my machine spins and runs super slow. I’ve got a 2016 Macbook pro with 16gb of RAM, but it’s chokes when I debug locally. It’s probably because I’ve got a lot of things open at the same time - including an iphone simulator which also has a debugger connected to my react-native app.
But it will run so slowly that requests from my phone simulator timeout before they reach the local stack.
I think part of the issue might be that locally, whenever a file is modified, SST calculates CDK changes. Perhaps it should detect a file modification and wait for me to hit enter to recalculate stack changes.
I’m going to buy a new mac - but I’m waiting for the next version of the macbook pros to come out this fall.David Martin
08/13/2021, 8:03 PMRoss Coundon
08/13/2021, 8:12 PMsst start
shifts almost all the load to AWS so works very well for us.thdxr
08/13/2021, 8:41 PMDavid Martin
08/13/2021, 8:42 PMDavid Martin
08/13/2021, 8:42 PMthdxr
08/13/2021, 8:42 PMFrank
whenever a file is modified, SST calculates CDK changesSST doesn’t auto rebuild when you change ur Lambda code. When you are working on ur Lambda code, do you have the perf issue? Or the slow down only happens when you are changing the CDK code?
Jay
David Martin
08/14/2021, 12:48 AMDavid Martin
08/14/2021, 12:50 AMDavid Martin
08/14/2021, 12:58 AMFrank
Ashishkumar Pandey
08/14/2021, 1:19 AMDavid Martin
08/14/2021, 1:58 AMAshishkumar Pandey
08/14/2021, 2:29 AMFrank
David Martin
08/14/2021, 10:42 PMDavid Martin
08/14/2021, 10:43 PMAshishkumar Pandey
08/15/2021, 12:02 AMthdxr
08/15/2021, 1:30 AM