johnpapa / lite-server

Lightweight node server
MIT License
2.31k stars 267 forks source link

How can i make lite-server run continuously in background similar to forever.js #134

Open moeidsaleem opened 6 years ago

moeidsaleem commented 6 years ago

I am deploying an Angular 5 production app on AWS EC2 and my app is best working with lite-server but i can't find anything on web for running lite-server continuously not even flag and that is why i am opening an issues .

How to run Lite-server forever?

I want lite-server to work similar to forever.js where it keep running in background even when i close the ssh console, I want that similarly but don't know how to do it with lite-server. Really need help on this fast, Thanks.

Environment

vm06007 commented 6 years ago

@moeidsaleem did you have any chance solving this? I need same functionality :)

michaeljota commented 6 years ago

If you are using some SaaS or something, why do just deploy the Angular app to the Static deployment? I don't think lite-server was develop to be a production server, and if your application only works with this, I think there is something wrong.

If you do need a real server, then use and deploy a real server. I could recommend server, it is an ready to use server for Node, and you can even integrate it with Angular Universal.