mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 18:03:12 +00:00
refactor: Add --watch flag to docker-compose.dev.yml for hot reloading during development
This commit is contained in:
parent
c040ea7d22
commit
e3fa5d47b9
1 changed files with 9 additions and 1 deletions
|
@ -14,9 +14,17 @@ expand the bot's functionality. Please follow these guidelines when contributing
|
||||||
* **Docker:** To run the bot, use this command to run your newly edited code:
|
* **Docker:** To run the bot, use this command to run your newly edited code:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose -f docker-compose.dev.yml up --build
|
docker compose -f docker-compose.dev.yml up --build --watch
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* **Docker:** To run the bot, use this command to run your newly edited code:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose -f docker-compose.dev.yml up --build --watch
|
||||||
|
```
|
||||||
|
|
||||||
|
*Note: Adding `--watch` is recommended as it supports hot reloading. You can use the `.dev stop` command to trigger a rebuild with your latest changes.*
|
||||||
|
|
||||||
* **Poetry:** While developing, it is recommended to install & configure poetry locally:
|
* **Poetry:** While developing, it is recommended to install & configure poetry locally:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue