Skip to content

Commit

Permalink
Merge pull request #32 from Phoupraw/doc-restart
Browse files Browse the repository at this point in the history
doc: 初次构建需重启服务器
  • Loading branch information
Phoupraw authored Aug 10, 2023
2 parents 0cb88a6 + 40f7d65 commit ec3c89c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

`just serve`会监视一般源代码,但对 theme 不知情;`just watch-theme`会监视模板生成 CSS,进而让浏览器页面刷新。因此,开发时需要两个进程同时工作。

根据 [Django 文档](https://docs.djangoproject.com/en/4.2/ref/django-admin/#runserver),添加文件不会让服务器重启。如果您是初次构建前端,可能需要手动重启服务器。

## 示例

以下是[初始化 django-tailwind](https://django-tailwind.readthedocs.io/en/latest/installation.html) 时生成的`base.html`
Expand Down

0 comments on commit ec3c89c

Please sign in to comment.