From 62c2e03409e8f7bc6f3f20df36603344afaf2b3a Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 23 Jan 2026 15:33:13 +0700 Subject: all: embed CSS and index HTML template using memfs Previously, with direct embed, every time we change the CSS or index template, we need to restart the "ciigo serve" command. Using memfs make us easy to update and see the changes directly, without restarting the server. --- testdata/watcher_test.txt | 211 ++++++++++++++++++++++++---------------------- 1 file changed, 111 insertions(+), 100 deletions(-) (limited to 'testdata/watcher_test.txt') diff --git a/testdata/watcher_test.txt b/testdata/watcher_test.txt index df24c48..9c41cec 100644 --- a/testdata/watcher_test.txt +++ b/testdata/watcher_test.txt @@ -1,34 +1,39 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-FileCopyrightText: 2023 Shulhan + >>> create.adoc = watch create :generator!: <<< create.adoc.html + + - - - - - watch create - - - -
-
- - -
-
-
-
+ + + + + watch create + + + +
+
+ + +
+
+
+
@@ -45,31 +50,33 @@ Hello, body. <<< update.adoc.html + + - - - - - - watch updated - - - -
-
- - -
-
-
-
+ + + + + + watch updated + + + +
+
+ + +
+
+
+
@@ -87,37 +94,39 @@ Title: a title # watch create <<< create.md.html + + - - - - - a title - - - -
-
-
- a title -
- -
-
-
-
+ + + + + a title + + + +
+
+
+ a title +
+ +
+
+
+

watch create

-
-
- +
+