So far, we wrote a hello world Dream server.
- Install nightly build of
esy
withnpm i -g @esy-nightly/esy
- Run
esy
inside the project - Run
esy run-script dev
(similar tonpm run dev
) to run webpack dev server - Run
esy dune build -w
to build and watch all Dune targets - Run
esy x reason_india_website
to run the server.
Note
On Windows, node_modules installation is still in alpha. While NPM dependencies are installed in node_modules, they're not available on $PATH. So, you'll have to use NPM/Yarn to run. This is only temporary.
You'll need some additional steps,
mkdir .\node_modules\.bin
cp .\_esy\default\bin\* .\node_modules\.bin\
npm run dev