Dream web server coded live at reason-bangalore.org sessions
So far, we wrote a hello world Dream server.
esy
with npm i -g @esy-nightly/esy
esy
inside the projectesy run-script dev
(similar to npm run dev
) to run webpack dev serveresy dune build -w
to build and watch all Dune targetsesy 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