Use elm-live for watch
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
Getting Started
|
||||
===============
|
||||
|
||||
## Install Nodejs 4.0.0 or higher
|
||||
|
||||
http://nodejs.org
|
||||
|
||||
## Install Elm
|
||||
|
||||
Visit http://elm-lang.org/install to get set up.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "Like GitHub, but funkier.",
|
||||
"scripts": {
|
||||
"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"
|
||||
},
|
||||
"repository": {
|
||||
@@ -18,6 +18,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/rtfeldman/elm-workshop#readme",
|
||||
"devDependencies": {
|
||||
"chokidar-cli": "1.2.0"
|
||||
"elm-live": "2.0.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user