Comment

Comment by pastage

Works remotely on kubernetes, for us the game changer was running inotify_wait on cygwin for our windows users, changes are up in about 600ms.

1. Configure a service 2. Use start command sleep infinity 3. Install inotify_wait on windows 4. Do a loop like this

Look for changes, Rsync changes to pod, Pkill java, Run start.sh

We do a grep on changed files and only kill java if jar/classes and other deps has changed, that makes it possible to edit html in pod and get fast updates.

parent pastage 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton