Commit cda08750 authored by Joris's avatar Joris

Use public directory

parent 86ffcb49
elm-stuff elm-stuff
node_modules node_modules
client.js public/client.js
pages:
artifacts:
paths:
- public
only:
- pages
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
"start": "npm run watch", "start": "npm run watch",
"watch": "npm run launch-server & nodemon --watch src -e elm --exec 'npm run build --silent'", "watch": "npm run launch-server & nodemon --watch src -e elm --exec 'npm run build --silent'",
"build": "elm make src/Main.elm --output client.js", "build": "elm make src/Main.elm --output public/client.js",
"launch-server": "npm run kill-server && http-server ./ -p 8080", "launch-server": "npm run kill-server && http-server ./public -p 8080",
"kill-server": "fuser -k 8080/tcp || true" "kill-server": "fuser -k 8080/tcp || true"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment