Simple observer that rebuilds and updates single Docker services when their code changes.
- Make sure Python (including pip) is installed.
- From within the project folder, install SeaWatch like so:
$ pip install .
- Run the command line script pointing to the docker-compose.yml and specify what file extensions to observe:
$ seawatch docker-compose.yml py
The example above uses the docker-compose.yml file in the current directory and observes all files with an .py extension. Also, it is possible to specify multiple file extensions to observe.
SeaWatch will now wait for source code changes and automatically update the services within their Docker Compose environment.