From ea058a851098bf81cb645249e02d26a8c253db90 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 8 May 2022 21:47:45 +0200 Subject: ref: Add embded rust and router - Use embed rust to load and resolve file from `content/post` folder, so the whole process is a bit more dynamic. - Add router to to resolve the path. It is the first step to try to get the code a bit cleaner. --- watch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'watch') diff --git a/watch b/watch index 9f5acdb..5a5076c 100755 --- a/watch +++ b/watch @@ -11,6 +11,6 @@ trap sigint_handler SIGINT while true; do cargo run & PID=$! - inotifywait -e modify -e move -e create -e delete -e attrib -r src/ templates/ assets/ + inotifywait -e modify -e move -e create -e delete -e attrib -r src/ templates/ content/ kill $PID done -- cgit v1.2.3