JackH
JackH

Reputation: 4745

Why does the Fastify CLI process forcefully end?

I have a Fastify web server that exposes a bunch of RESTful endpoints. I created my project using fastify-cli and I also use the CLI to run the server locally. I notice that whenever I rapidly call my APIs, I get the following error in my terminal:

enter image description here

You'll notice that I call the same API repeatedly. I don't get any errors in the first two or three calls but, when I call the same API a third or fourth time, the server process crashes and automatically restarts a few seconds later.

Since the logs are sparse, I can't seem to figure out what might cause this issue and I wonder if it is an issue with the CLI itself? Appreciate any help from other Fastify users.

Upvotes: 1

Views: 1150

Answers (1)

Robertino Vasilescu
Robertino Vasilescu

Reputation: 1078

It is a known bug with the watch feature cli issue

not fixed yet.

Upvotes: 3

Related Questions