From 0aa10460eb34110c6cdcc8215cf5f2f0d9f93f0f Mon Sep 17 00:00:00 2001 From: Emil Goldsmith Olesen Date: Thu, 6 Jun 2019 09:50:46 +0200 Subject: [PATCH] add documentation for grapql_schema --watch --- docs/introspection.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/introspection.rst b/docs/introspection.rst index 0fc6776..c1d6ede 100644 --- a/docs/introspection.rst +++ b/docs/introspection.rst @@ -35,6 +35,8 @@ Advanced Usage The ``--indent`` option can be used to specify the number of indentation spaces to be used in the output. Defaults to `None` which displays all data on a single line. +The ``--watch`` option can be used to run ``./manage.py graphql_schema`` in watch mode, where it will automatically output a new schema every time there are file changes in your project + To simplify the command to ``./manage.py graphql_schema``, you can specify the parameters in your settings.py: