turso dev doesn't wait for sqld process and if it crashes (which is rare situation but still) - dev mode will continue to work and will return an error only when user will try to interrupt it:
could not kill sqld: signal: segmentation fault (core dumped)
This PR concurrently waits for process to finish and for interruption signal in order to make crashes more obvious:
Context
turso dev
doesn't wait forsqld
process and if it crashes (which is rare situation but still) - dev mode will continue to work and will return an error only when user will try to interrupt it:This PR concurrently waits for process to finish and for interruption signal in order to make crashes more obvious: