Skip to content

Commit 9e35fe3

Browse files
committed
Add GIF to simulate usage in viewer's mind
1 parent 9b12857 commit 9e35fe3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
vim command + JS snippet for crapshoot livereload
22

3+
4+
![screen recording](screencap.gif)
5+
6+
```vimL
7+
" use in vim
8+
:autocmd BufWritePost * execute "!echo `date` > %.update"
9+
```
10+
11+
```html
12+
<!-- add in webpage -->
13+
<script src="https://www.alexstachowiak.com/livereload.js"></script>
14+
```
15+
16+
17+
318
### The Algorithm
419
1. Serve files using `python -m SimpleHTTPServer 8869`
520

0 commit comments

Comments
 (0)