Server
#
IntroductionRunning your application in server mode will give you many benefits such as packaging the application into a docker container, or making use of websockets. Running your light app in server mode will cause it to work exactly in dev mode except for the pretty error handling, and HMR.
#
SetupSimply add the light start
command to your package.json
#
UsageYou can see the options that light provides by running light start -h
.