Fork me on GitHub
#boot
<
2019-05-13
>
jeroenvandijk10:05:25

I was thinking of monkey patching the boot.watcher module to improve the file reloading, but that doesn't seem to be an option (boot.watcher unknown to the repl). Is this still the easiest way to hack on boot? https://github.com/boot-clj/boot/blob/master/README.md#hacking-boot

jeroenvandijk14:05:04

@flyboarder I've created a "fix" that works for me locally. There is no noticeable delay anymore (on a big project). I have no idea in what circumstances this might break though so please treat it as a proof of concept https://github.com/boot-clj/boot/pull/746

jeroenvandijk15:05:43

Hmm i think my "fix" doesn't add a (noticable) improvement. I just found out it's actually my editor (emacs) that is slow in saving my files 🙈 With Textmate for both the old code and new code the effect is instant, with emacs there is a delay in both cases.

dave15:05:52

solution: switch to vim parrot (j/k of course)

metal 4
alandipert15:05:58

@dave do you use neovim?

alandipert15:05:20

j/k asking because i’m curious about it, i use regular vim for stuff but it doesn’t have a repl situation i’m content with

alandipert15:05:40

so i’ve been thinkign about ways to do a simple repl using the system clipboard

dave15:05:43

interesting, i remember you being an emacser with a vim past

alandipert15:05:55

but i know neovim has a real inferior shell type of support, with async command api

dave15:05:24

my understanding is that after neovim became a thing, at some point vim added async job support (in vim 8+, i believe)

dave15:05:34

a lot of plugins these days work in both vim 8+ and neovim

dave15:05:42

there are some that only work in neovim, though

alandipert15:05:49

ah, that’s ok i don’t use any plugins

dave15:05:52

and some that only work in vim 8

dave15:05:23

i would play around with vim's async stuff

alandipert15:05:40

thanks i’ll check it out. looks indeed like its in vim 8 which i have