-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can json-server running at background? #221
Comments
Hmm can't seem to reproduce on OS X |
Reproducing on Linux... |
yeah, I run this commend "nohup json-server --watch db.json" on Linux, not OS X. Have you found out the problem? |
No sorry, didn't have the time to check that. So if anyone has an idea about it or want to help with this. BTW I'm working on a tool for managing background servers, if you want to give a try https://github.com/typicode/hotel (it's not as simple as a |
I had experienced a similar problem, with a different version and hence line number: events.js:72 I am running: Linux ip-172-30-2-68 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux nodejs v0.10.25 |
found workarround, give it something to read : |
I had same problem and seems i found workaround: Also in my case json-server with nohup terminated after some time for an unknown reason, so if you'll have same issue you can try https://github.com/foreverjs/forever :
|
Hi, In the next version of JSON Server ( It will be possible then to use |
|
I install json-server on Linux. And it works well when i type "json-server --watch db.json". But when I try to put json-server at background using commend "nohup json-server --watch db.json", error happened.
And here is the log file(nohup.out):
The text was updated successfully, but these errors were encountered: