This contains the Remix compiler and CLI. Make sure it is in your package.json devDependencies
so it doesn't get deployed to your server.
remix setup
Remix is architected in a way that is not locked to a specific runtime, but this introduces a few challenges in getting your environment setup properly. To make life as easy as possible we have included the remix setup
command that will prepare your node_modules/remix
folder; simply include this command in your packages postinstall command:
{
"scripts": {
"postinstall": "remix setup"
}
}
remix build
Builds your app for production with our new esbuild-based compiler.
$ remix build
remix watch
Watches your application files and builds your app for development when files change with our new esbuild-based compiler.
$ remix watch
remix dev
Same as watch
but also boots the Remix app server in development mode.
$ remix dev