What is forever in nodejs?

后端 未结 3 1982
清歌不尽
清歌不尽 2021-02-05 09:33

I am having hard time understanding what is forever in nodejs.

Can someone explain what is forever in simplest way that i can understand and what is th

3条回答
  •  青春惊慌失措
    2021-02-05 10:06

    You can even use the nohup command it simply ignores the hang up signal.

    node index.js && nohup -& (to run as a background process - no hiccup)
    

提交回复
热议问题