Use elm-live for watch
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
Getting Started
|
Getting Started
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
## Install Nodejs 4.0.0 or higher
|
||||||
|
|
||||||
|
http://nodejs.org
|
||||||
|
|
||||||
## Install Elm
|
## Install Elm
|
||||||
|
|
||||||
Visit http://elm-lang.org/install to get set up.
|
Visit http://elm-lang.org/install to get set up.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"description": "Like GitHub, but funkier.",
|
"description": "Like GitHub, but funkier.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "elm-make FunkHub.elm --output elm.js",
|
"build": "elm-make FunkHub.elm --output elm.js",
|
||||||
"watch": "npm run build && chokidar \"**/*.elm\" -c \"npm run build\"",
|
"watch": "elm-live FunkHub.elm --open -- --output=elm.js",
|
||||||
"install": "elm-package install --yes && npm run build"
|
"install": "elm-package install --yes && npm run build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -18,6 +18,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/rtfeldman/elm-workshop#readme",
|
"homepage": "https://github.com/rtfeldman/elm-workshop#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chokidar-cli": "1.2.0"
|
"elm-live": "2.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user