Skip to content

Commit

Permalink
fix: Update stop.ts (#15)
Browse files Browse the repository at this point in the history
Issue docker-compose stop command, instead of down command, to keep containers and data. (So any edits persist between supabase start and supabase stop, instead of wiping containers).
  • Loading branch information
alteredorange authored Apr 2, 2021
1 parent b0d028e commit 0f7b11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/stop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default {
const spinner = spin('Stopping local Supabase...')

await run(
'docker-compose --file .supabase/docker/docker-compose.yml --project-name supabase down'
'docker-compose --file .supabase/docker/docker-compose.yml --project-name supabase stop'
).catch(() => {
spinner.fail('Error running docker-compose.')
process.exit(1)
Expand Down

0 comments on commit 0f7b11a

Please sign in to comment.