aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-10-17 19:14:20 +0700
committerShulhan <ms@kilabit.info>2021-10-17 19:14:20 +0700
commit36d729c71dd03303a2eef4cfefa64ac1a78a0ec1 (patch)
tree451649d9eaecd20b466a4a4d56a393410fbf8713 /cmd
parent56488e32c04c4561d06d3446b81bb726d5cbb6ff (diff)
downloadciigo-36d729c71dd03303a2eef4cfefa64ac1a78a0ec1.tar.xz
all: fix empty fileMarkups on watcher
Previously, when user call ciigo.Watch(), and the markup file changes, the onChangeFileMarkup method will print an error "xyz not found" which cause the markup file not converted. This is caused by watcher.fileMarkups is empty. This changes fix this issue by initializing the fileMarkups field using listFileMarkups, so the next callback to onChangeFileMarkup can detect the changed file and convert it.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions