json-server icon indicating copy to clipboard operation
json-server copied to clipboard

Logs not logging in terminal

Open neldivad opened this issue 1 year ago • 7 comments

npx json-server --watch data/db.json --port 3500
$ npx json-server --watch data/db.json --port 3500
--watch/-w can be omitted, JSON Server 1+ watches for file changes by default
JSON Server started on PORT :3500
Press CTRL-C to stop
Watching data/db.json...

(˶ᵔ ᵕ ᵔ˶)

Index:
http://localhost:3500/

Static files:
Serving ./public directory if it exists

Endpoints:
http://localhost:3500/bruh
http://localhost:3500/items

Expect printed logs when URL is accessed or when update request is made, but terminal is silent.

Did not install npm -i json-server, using json-server out of box via npx.

neldivad avatar Jul 23 '24 13:07 neldivad