Hey there, does anyone know how to activate sst au...
# sst
a
Hey there, does anyone know how to activate sst auto deploy localy when
schema.graphql
file is modified ? Actually when I change my
schema.graphql
I have to stop sst localy and restart
sst start
command
m
Yeah, this is a bit annoying but if you open any stack/src file and just hit save it'll rebuild and ask to redeploy.
t
Right now I don't think our watcher can tell that your stacks depend on a non-js file
a
Ok thank you, it work, but takes a long time, 30-40 seconde on a small stack. Hard to work with it
t
Yeah this is similar to adding routes on api gateway, because it needs to provision new things in AWS it can be slow
One of the tradeoffs with shifting more application functionality into the infrastructure layer
f
Created an issue for this. We should watch for the schema file and prompt for re-deploy. https://github.com/serverless-stack/serverless-stack/issues/902