Skip to content

Conversation

@Khotul
Copy link

@Khotul Khotul commented Aug 16, 2022

Respawn function is broken, doesn't actually run any of the node apps, and doesn't show any error.

I don't know the exact cause of this. I believe this may either be caused by old "Respawn" package being incompatible with newer npm versions, or Windows incompatibility with some of the functions that were coded directly for Linux-based systems.

Either way, replacing this function with node's internal Spawn function gets rids of this issue.

(Todo: this issue should be looked in further to reimplement the respawning of crashed processes. For now this fix is enough, as having an app that doesn't restart is better than one that doesn't run in the first place)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant