aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-12-23 02:42:06 +0700
committerShulhan <ms@kilabit.info>2025-01-07 00:13:55 +0700
commitb686ea0a41b7af68d4d86ff3cc2c3068ebb88b66 (patch)
treeb8725c3c2e2461e2b0542c76880d385ee5aa6741 /cmd
parentff338f853eb7537230c84ccc06feae3b63859877 (diff)
downloadciigo-b686ea0a41b7af68d4d86ff3cc2c3068ebb88b66.tar.xz
all: refactoring to use [watchfs/v2]
The [watchfs/v2] bring new enhancements that watching only single file instead of all markup files for changes. This minimize number of goroutine calling os.Stat on each markup files being watched on directory.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ciigo/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ciigo/main.go b/cmd/ciigo/main.go
index a4b734c..ceb6389 100644
--- a/cmd/ciigo/main.go
+++ b/cmd/ciigo/main.go
@@ -52,7 +52,7 @@ func main() {
convertOpts = ciigo.ConvertOptions{
Root: flag.Arg(1),
HTMLTemplate: *htmlTemplate,
- Exclude: *exclude,
+ Exclude: []string{*exclude},
}
err error
)