# Source: https://github.com/jina-ai/jina/blob/master/docs/concepts/orchestration/hot-reload.md# Hot ReloadWhile developing your Orchestration, you may want it to reload automatically as you change the YAML configuration.For this you can use the Orchestration's `reload` argument to reload it with the updated configuration every time you change the YAML configuration.````{admonition} Caution:class: cautionThis feature aims to let developers iterate faster while developing, but is not intended for production use.````````{admonition} Note:class: noteThis feature requires `watchfiles>=0.18` to be installed.````````{tab} DeploymentTo see how this works, let's define a Deployment in `deployment.yml` with a `reload` option:```yamljtype: Deploymentuses: ConcatenateTextExecutoruses_with:  text_to_concat: foowith:  port: 12345  reload: True```Load and expose the Orchestration:```pythonimport osfrom jina import Deployment, Executor, requestsfrom docarray import DocListfrom docarray.documents import TextDocclass ConcatenateTextExecutor(Executor):    @requests    def foo(self, docs: DocList[TextDoc], **kwargs) -> DocList[TextDoc]:        for doc in docs:            doc.text += text_to_concat        return docsos.environ['JINA_LOG_LEVEL'] = 'DEBUG'dep = Deployment.load_config('deployment.yml')with dep:    dep.block()```You can see that the Orchestration is running and serving:```pythonfrom jina import Clientfrom docarray import DocListfrom docarray.documents import TextDocc = Client(port=12345)print(c.post(on='/', inputs=DocList[TextDoc](TextDoc()), return_type=DocList[TextDoc])[0].text)``````textfoo```You can edit the Orchestration YAML file and save the changes:```yamljtype: Deploymentuses: ConcatenateTextExecutoruses_with:  text_to_concat: barwith:  port: 12345  reload: True```You should see the following in the Orchestration's logs:```textINFO   Deployment@28301 change in Deployment YAML deployment.yml observed, restarting Deployment```After this, the behavior of the Deployment's Executor will change:```pythonfrom jina import Clientfrom docarray import DocListfrom docarray.documents import TextDocc = Client(port=12345)print(c.post(on='/', inputs=DocList[TextDoc](TextDoc()), return_type=DocList[TextDoc])[0].text)``````textbar```````````{tab} FlowTo see how this works, let's define a Flow in `flow.yml` with a `reload` option:```yamljtype: Flowwith:  port: 12345  reload: Trueexecutors:- name: exec1  uses: ConcatenateTextExecutor```Load and expose the Orchestration:```pythonimport osfrom jina import Deployment, Executor, requestsfrom docarray import DocListfrom docarray.documents import TextDocclass ConcatenateTextExecutor(Executor):    @requests    def foo(self, docs: DocList[TextDoc], **kwargs) -> DocList[TextDoc]:        for doc in docs:            doc.text += text_to_concat        return docsos.environ['JINA_LOG_LEVEL'] = 'DEBUG'f = Flow.load_config('flow.yml')with f:    f.block()```You can see that the Flow is running and serving:```pythonfrom jina import Clientfrom docarray import DocListfrom docarray.documents import TextDocc = Client(port=12345)print(c.post(on='/', inputs=DocList[TextDoc](TextDoc()), return_type=DocList[TextDoc])[0].text)``````textadd text```You can edit the Flow YAML file and save the changes:```yamljtype: Flowwith:  port: 12345  reload: Trueexecutors:- name: exec1  uses: ConcatenateTextExecutor- name: exec2  uses: ConcatenateTextExecutor```You should see the following in the Flow's logs:```textINFO   Flow@28301 change in Flow YAML flow.yml observed, restarting Flow```After this, the Flow will have two Executors with the new topology:```pythonfrom jina import Clientfrom docarray import DocListfrom docarray.documents import TextDocc = Client(port=12345)print(c.post(on='/', inputs=DocList[TextDoc](TextDoc()), return_type=DocList[TextDoc])[0].text)``````textadd text add text```