Skip to content

Return watcher from elecronReload() #102

@eidheim

Description

@eidheim

Would you mind returning the watcher object (https://github.com/yan-foto/electron-reload/blob/master/main.js#L48) from elecronReload() (https://github.com/yan-foto/electron-reload/blob/master/main.js#L46) at the end of function?

I need to close the watcher in the (will-)quit event of an electron application to prevent a crash on exit on MacOS.

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