gel watch​
Start a long-running process that watches for changes in schema files in your
project's dbschema
directory and applies those changes to your current
branch in real time. Starting it is as simple as running this command:
gel watch
If a schema change cannot be applied, you will see an error in the
gel watch
console. You will also receive the error when you
try to run a query with any Gel client binding.
To learn about our recommended development migration workflow using
gel watch
, read our intro to migrations.
If you want to apply a migration in the same manner as watch
but
without the long-running process, use gel migrate --dev-mode
. See
gel migration apply for more details.