Sridhar Ratnakumar
15eeeb8816
Allow changing route url strategy
2021-04-21 20:43:38 -04:00
Sridhar Ratnakumar
d91fe487a6
Add script to run via tmux
...
Because ghcid reloads leaves ghost threads sometime, when reloading VSCode.
And disable launch-when-open in VSCode for that reason.
2021-04-21 20:43:03 -04:00
Sridhar Ratnakumar
82b3fc826a
Ema.Helper.TailWind - finalized
...
- clean up twind shims
- remove google fonts
2021-04-21 16:15:58 -04:00
Sridhar Ratnakumar
f1428dc6c1
Fix a bug in parent (client not replacing HTML after ghcid reload)
2021-04-21 15:48:01 -04:00
Sridhar Ratnakumar
a1c9167b53
Merge pull request #6 from srid/ghcid-reload-smooth-ux
...
Smooth hot reload during ghcid reload + Ema status indicators
2021-04-21 15:23:02 -04:00
Sridhar Ratnakumar
9d81ca3db3
update README for the PR
2021-04-21 15:21:03 -04:00
Sridhar Ratnakumar
61723ead42
Add Ema status indicator animation
...
This mostly uses code from @TheMatten
2021-04-21 15:18:57 -04:00
Sridhar Ratnakumar
9aca9d61c9
Reconnect websocket, instead of full-page refresh
...
Simplistic wait of 1s; no exponential retry (yet).
2021-04-21 14:52:00 -04:00
Sridhar Ratnakumar
7bf014799e
LVar: listen only on demand
...
Continuous update spams the browser. On demand listening allows us to wait till the browser actually requests for update after it has had the time to refresh HTML in DOM.
Fixes #5
2021-04-21 13:22:26 -04:00
Sridhar Ratnakumar
3b8b01319d
runEma: even more simplified
2021-04-21 00:39:04 -04:00
Sridhar Ratnakumar
542b753167
Fix LVar.set to work with empty TMVars
2021-04-21 00:35:34 -04:00
Sridhar Ratnakumar
613194d359
Allow overriding port using $PORT
...
Useful as a interim solution to #4
2021-04-21 00:17:56 -04:00
Sridhar Ratnakumar
5e8b0b7d43
Simplify runEma API so race_ is not needed in user programs
2021-04-21 00:05:31 -04:00
Sridhar Ratnakumar
2d87a984fb
Expose some modules
2021-04-20 18:14:13 -04:00
Sridhar Ratnakumar
cd78180fc4
Add default.nix for legacy nix
2021-04-20 18:00:55 -04:00
Sridhar Ratnakumar
221d2fea07
...
2021-04-20 17:51:14 -04:00
Sridhar Ratnakumar
a36d347925
LVar: actually stop listening after @ignore@
2021-04-20 17:36:28 -04:00
Sridhar Ratnakumar
6da1d04c02
Cleanup LVar
2021-04-20 17:23:23 -04:00
Sridhar Ratnakumar
1adedf6f65
Get rid of the Ema
type
2021-04-20 17:12:20 -04:00
Sridhar Ratnakumar
8bd0b0838d
Changing -> Data.LVar
2021-04-20 17:09:37 -04:00
Sridhar Ratnakumar
e4bc39ec5b
diary: use repo diary by default
2021-04-20 15:24:55 -04:00
Sridhar Ratnakumar
7bd0ba6806
Revert .ghcid to clock example
2021-04-20 15:23:21 -04:00
Sridhar Ratnakumar
0d35adf0a5
Add logo
2021-04-20 15:20:12 -04:00
Sridhar Ratnakumar
3cb3154706
Add Diary example using org-mode and fsnotify ( #2 )
...
* Dairy example, prototype. Without fsnotify.
* Add basic org renderer
* Rough version of fswatcher
* Refactor, and add example org notebook
2021-04-20 15:04:48 -04:00
Sridhar Ratnakumar
ca47adc643
Add a flag to disable inclusion of examples
2021-04-20 12:36:53 -04:00
Sridhar Ratnakumar
593bc9c49e
Fix incorrect port
2021-04-20 11:14:29 -04:00
Sridhar Ratnakumar
c8ef3753b7
Rename examples
2021-04-19 20:49:46 -04:00
Sridhar Ratnakumar
487a1c0aae
make publish private
2021-04-19 20:18:50 -04:00
Sridhar Ratnakumar
acccb74bb4
Support multiple websocket clients for hot reload
2021-04-19 20:05:18 -04:00
Sridhar Ratnakumar
86040f9dc3
plan...
2021-04-19 18:52:37 -04:00
Sridhar Ratnakumar
cbf93ed7cd
plan
2021-04-19 18:51:27 -04:00
Sridhar Ratnakumar
eb73831217
... refactor, remove dup name
2021-04-19 18:28:40 -04:00
Sridhar Ratnakumar
69c292f0f3
refactor
2021-04-19 18:23:46 -04:00
Sridhar Ratnakumar
b3da8ee30e
More reliable client-side refresh on ghcid reload
2021-04-19 17:57:45 -04:00
Sridhar Ratnakumar
27283651b7
Refactor examples
2021-04-19 15:41:24 -04:00
Sridhar Ratnakumar
5c84eb10a6
refactor Ema.Route
2021-04-19 15:34:10 -04:00
Sridhar Ratnakumar
7463e87a9c
Have the browser refresh on ghcid restart
2021-04-19 15:23:06 -04:00
Sridhar Ratnakumar
750717cb09
remove unused deps
2021-04-19 11:36:51 -04:00
Sridhar Ratnakumar
661bf0fc16
Intro
2021-04-19 11:18:38 -04:00
Sridhar Ratnakumar
f7f437759a
initial commit of WIP code
2021-04-19 11:07:52 -04:00
Sridhar Ratnakumar
b96a5b1474
init: README
2021-04-19 10:48:00 -04:00