J
J
jsCanDoAnything2020-05-05 22:05:21
JavaScript
jsCanDoAnything, 2020-05-05 22:05:21

Nodejs endless code execution?

I am writing a CLI application on nodejs, it accepts user input and then displays a response. How can I make the code not end, but start again after it is executed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2020-05-05
@IgorPI

This is called "daemonizing the process"
Implementing daemons on the Node.js
Daemon library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question