Skip to content

Commit

Permalink
compile elm files when elm files changes
Browse files Browse the repository at this point in the history
  • Loading branch information
choonkeat committed Jul 25, 2021
1 parent 76190cc commit 9675a41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"elm-webapp": "./bin/elm-webapp"
},
"name": "elm-webapp",
"version": "1.2.0",
"version": "1.2.1",
"description": "cli to initialize an elm-webapp app",
"main": "bin/elm-webapp",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions templates/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ src/Protocol/Auto.elm: src/Protocol.elm
#
WATCHING=false elm-auto-encoder-decoder src/Protocol.elm

build/Server.js: src/Server.elm src/Protocol.elm
build/Server.js: src/**/*.elm
elm make src/Server.elm --output build/Server.js

public/assets/client.js: src/Client.elm src/Protocol.elm
public/assets/client.js: src/**/*.elm
elm make src/Client.elm --output public/assets/client.js

#
Expand Down

0 comments on commit 9675a41

Please sign in to comment.