michalkvasnicak/spust

Add serve command

Opened this issue · 0 comments

This will be only for a production build serving.

  1. it checks if application is built (checking bundle/server/server.js
  • it runs build if application is not compiled for a production
  1. it runs node bundle/server/server.js

Command should warn a user that he should protect application from failing using supervisor, forever, etc