Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经用 mod_wsgi、python_sql、mysql 和 django 设置了一个 Apache 服务器。一切都很好,除了如果我做了一些代码更改,它们不会立即反映,尽管我认为所有的东西都是在涉及到 python/mod_wsgi 时动态编译的。
我必须关闭服务器并再次回来查看更改。
有人能指出我如何通过上述设置实现热部署吗?
谢谢,
尼拉吉
这包含在 mod_wsgi 文档中。看:
http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode
只是触摸 wsgi 文件总是对我有用。