Skip to content

Commit

Permalink
change from make to npm run (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
AkihiroSanada authored Jul 8, 2024
1 parent 713ab6c commit 7b0562a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ The `.re`/`.ml` files compile to straightforward `.js` files inside your `_build
git clone https://github.com/melange-re/melange-opam-template my-reason-react-app

# This will initialise the opam switch and install all the dependencies (from both opam and npm)
cd my-reason-react-app && make init
cd my-reason-react-app && npm run init
# We install native dependencies (melange, dune, reason and reason-react) from opam
# while JavaScript dependencies (react, react-dom, webpack) from npm

# In separate terminals:
make watch # It will watch for changes in your Reason/OCaml files and compile them to JavaScript
make serve # Serves the application with a local HTTP server
npm run watch # It will watch for changes in your Reason/OCaml files and compile them to JavaScript
npm run serve # Serves the application with a local HTTP server
```

Read more about the template in the [opam-template README](https://github.com/melange-re/melange-opam-template).
Expand Down

0 comments on commit 7b0562a

Please sign in to comment.