chapter icon indicating copy to clipboard operation
chapter copied to clipboard

Graceful server restarts

Open ojeytonwilliams opened this issue 3 years ago • 0 comments

As pointed out by @Sboonny in https://github.com/freeCodeCamp/chapter/pull/1829#pullrequestreview-1167185216 the server can be crashed by changes to the client. It's tricky to reproduce, but it does happen occasionally.

It would be nice if we could handle this in development.

Ideally, we'd want the same watch behaviour we currently have, but also to restart on errors. However it's important not to get stuck in a tight loop if the server throws an error on restart.

ojeytonwilliams avatar Nov 03 '22 16:11 ojeytonwilliams