The Remix CLI comes from the
@remix-run/dev package. It also includes the compiler. Make sure it is in your package.json
devDependencies so it doesn't get deployed to your server.
Builds your app for production. No need to add
NODE_ENV=production to the command.
Watches your application files and builds your app for development when files change.
watch but also boots the Remix app server in development mode if it's installed.
Note: The default port is
3000, but can be changed by setting the
PORT environment variable. If you are changing this to run multiple instances of Remix, you must also set unique Dev websocket ports via
remix.config.js or setting