Skip to content

please consider including watch example in node module code snippet #3079

@hesxenon

Description

@hesxenon

Search Terms

watch, node, api

Problem

I'm having trouble figuring out how to get watch mode up and running with the node module API. I'd like some docs on this and I think that would best fit in this section.

Suggested Solution

I am currently trying to do it like this:

app.convertAndWatch(async (project) => {
  await app.generateDocs(project, config.out);
});

but doing so does not work as expected when it comes to projectdocuments - changing them removes them (might be a bug?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions