Skip to content

Investigate instantiating new API and reporter in --watch #533

Closed
@novemberborn

Description

@novemberborn

#502 resets the API and logger/reporter between runs. Creating fresh instances may be preferable. This would require some sort of code sharing between cli.js and watcher.js though, since the former sets up the instances and has access to the required CLI flags.

One option would be to pass a callback to watcher.start() allowing the watcher to create new API and logger/reporter instances, but leaving the definition in cli.js.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions