Update README instructions for installing elm-live etc
This commit is contained in:
@@ -16,7 +16,7 @@ Getting Started
|
||||
> **Note:** Make sure not to run this command with `sudo`! If it gives you an `EACCESS` error, apply [**this fix**](https://docs.npmjs.com/getting-started/fixing-npm-permissions#option-two-change-npms-default-directory) and then re-run the command (still without `sudo`).
|
||||
|
||||
```shell
|
||||
npm install -g elm elm-test elm-format@exp
|
||||
npm install -g elm@0.18.0 elm-test@0.18.12 elm-live@2.7.5 elm-format@0.7.0-exp
|
||||
```
|
||||
|
||||
You can confirm this worked by running:
|
||||
@@ -63,7 +63,7 @@ In the new termnal, `cd` into the `elm-workshop` directory again.
|
||||
Then run this to build the Elm code for the first time:
|
||||
|
||||
```shell
|
||||
elm make Main.elm --output=server/public/elm.js --pushstate --open
|
||||
elm-live Main.elm --output=server/public/elm.js --pushstate --open
|
||||
```
|
||||
|
||||
A browser should open, and you should see this in it:
|
||||
|
||||
Reference in New Issue
Block a user