diff options
| author | Shulhan <ms@kilabit.info> | 2022-02-19 01:19:51 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-02-19 01:19:51 +0700 |
| commit | fdc557949e898f7284a080c75231a438f8f998b5 (patch) | |
| tree | 49fed4fde810cd0c39fa83103042e0f6fcff1525 /ciigo.go | |
| parent | 41117b40ee781e56b160902f94e5d57b71ab621c (diff) | |
| download | ciigo-fdc557949e898f7284a080c75231a438f8f998b5.tar.xz | |
all: fix adoc files not re-converted when template file changes
In commit 06d03f6afe37 we skip converting files if the generated HTML
is newer than adoc file.
This cause an issue where the template file changes during Watch or
Serve, but the HTML files is not regenerated.
Diffstat (limited to 'ciigo.go')
| -rw-r--r-- | ciigo.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,7 +69,7 @@ func Convert(opts *ConvertOptions) (err error) { return fmt.Errorf("%s: %w", logp, err) } - htmlg.convertFileMarkups(fileMarkups) + htmlg.convertFileMarkups(fileMarkups, false) return nil } @@ -112,7 +112,7 @@ func GoEmbed(opts *EmbedOptions) (err error) { return fmt.Errorf("%s: %w", logp, err) } - htmlg.convertFileMarkups(fileMarkups) + htmlg.convertFileMarkups(fileMarkups, false) memfsOpts := &memfs.Options{ Root: opts.Root, |
