Skip to content

Add make run-watch for auto-restart during development#158

Open
thereisnotime wants to merge 1 commit intoRichardAtCT:mainfrom
thereisnotime:feat/make-run-watch
Open

Add make run-watch for auto-restart during development#158
thereisnotime wants to merge 1 commit intoRichardAtCT:mainfrom
thereisnotime:feat/make-run-watch

Conversation

@thereisnotime
Copy link

Summary

  • Adds a make run-watch target that uses watchfiles to auto-restart the bot when files in src/ change
  • watchfiles is already an indirect dependency (pulled in by uvicorn), so no new deps needed
  • Updated README Development section to mention the new target

Test plan

  • Run make run-watch, edit a file in src/, confirm the bot restarts automatically
  • Run make help, confirm run-watch shows up in the list

Uses watchfiles (already a dependency via uvicorn) to watch src/ and
restart the bot whenever files change — handy during development.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant