Auto reloading Sanic app

  • このエントリーをはてなブックマークに追加

Hey there i was looking for auto reload for sanic and finally found it!

almost implemented by my self. lol.

there’s 2 way you can auto reload you app.

Method 1.

use entr

Run arbitrary commands when files change.

this is the perfect solution!

Lets try it!

Simple. not even gonna talk about it. lol.

Method 2.

Use the gunicorn worker for sanic.

Run the server with Gunicorn worker.

Those 2 methods was not by me!


  • このエントリーをはてなブックマークに追加


Leave a Reply