forked from auula/typikon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
为 typikon 添加了 watch 命令和相关代码,用于监听文件变化并重新构建书籍。 Fixes auula#10
- Loading branch information
1 parent
1b82e7a
commit b621dee
Showing
4 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#[cfg(test)] | ||
mod tests { | ||
use typikon::cli::commands::handle_live_serve_command; | ||
use typikon::cli::commands::handle_watch_command; | ||
|
||
#[test] | ||
fn test_live_server() { | ||
assert_eq!(handle_live_serve_command(), ()); | ||
assert_eq!(handle_watch_command(), ()); | ||
} | ||
} |