diff options
| author | Shulhan <ms@kilabit.info> | 2024-12-23 02:42:06 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-01-07 00:13:55 +0700 |
| commit | b686ea0a41b7af68d4d86ff3cc2c3068ebb88b66 (patch) | |
| tree | b8725c3c2e2461e2b0542c76880d385ee5aa6741 /cmd | |
| parent | ff338f853eb7537230c84ccc06feae3b63859877 (diff) | |
| download | ciigo-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.go | 2 |
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 ) |
