Commit df33f93
committed
Fix crash when assets directory doesn't exist
The watchfiles library (Rust notify) crashes when watching a
non-existent directory. Add existence check for app/assets before
yielding it from _iter_asset_dirs().1 parent 59a08f7 commit df33f93
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
0 commit comments