Skip to content

Commit d9e3f0a

Browse files
committed
test example
1 parent 85baf89 commit d9e3f0a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

example/readme.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@ cabal run generate-purescript
5656

5757
- Generate the Javascript bundle:
5858
```
59-
spago bundle-app --to static/index.js
60-
```
61-
- or:
62-
```
63-
spago bundle-app --watch --to static/index.js
59+
spago bundle --bundle-type app --module ExampleMain --outfile static/index.js
6460
```
6561

6662
- Restart the server

example/src/MyLib.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,5 @@ api = Proxy
8181

8282
main :: IO ()
8383
main = do
84+
putStrLn "Running at port 8080..."
8485
run 8080 . serve api $ fooServer :<|> staticServer

0 commit comments

Comments
 (0)