mirror of
https://github.com/hans/obsidian-citation-plugin.git
synced 2022-05-23 09:36:41 +03:00
The fix is to resolve the citation export path relative to the vault root before passing the path to chokidar.
This commit is contained in:
@@ -115,7 +115,10 @@ export default class CitationPlugin extends Plugin {
|
||||
};
|
||||
|
||||
chokidar
|
||||
.watch(this.settings.citationExportPath, watchOptions)
|
||||
.watch(
|
||||
this.resolveLibraryPath(this.settings.citationExportPath),
|
||||
watchOptions,
|
||||
)
|
||||
.on('change', () => {
|
||||
this.loadLibrary();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user