https://github.com/theproductiveprogrammer/015-elmlive
Livecoding with elm
https://github.com/theproductiveprogrammer/015-elmlive
Last synced: about 1 month ago
JSON representation
Livecoding with elm
- Host: GitHub
- URL: https://github.com/theproductiveprogrammer/015-elmlive
- Owner: theproductiveprogrammer
- Created: 2017-10-02T01:25:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-02T01:46:09.000Z (about 8 years ago)
- Last Synced: 2025-01-11T06:33:53.197Z (10 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Elm LiveCoding Demo
===================
This is a simple way to do livecoding using Elm (similar to Figwheel in Clojurescript). The livecoding script is in Go so make sure you have Golang installed before trying it!
Try it out:
```
$> git clone https://github.com/theproductiveprogrammer/015-ElmLive.git
$> cd 015-ElmLive
$> go get github.com/gorilla/websocket
$> cd examples/clock/
$> go run ../../elm-live.go clock.elm
```
Point your browser at localhost:8080 and you are ready to go!
Auto Save in Vim
----------------
If you are using vim and would like a faster cycle you can arrange for vim to autosave as you type by adding these commands:
set ut=250
au CursorHold update
au CursorHoldI update