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

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

Open moeidsaleem opened this issue 7 years ago • 2 comments

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

  • lite-server version:
  • nodejs version: 6.*
  • npm version:
  • OS type/version: AWS EC2 Ubuntu

moeidsaleem avatar Feb 06 '18 13:02 moeidsaleem

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

vm06007 avatar Mar 05 '18 04:03 vm06007

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.

michaeljota avatar Mar 15 '18 15:03 michaeljota