Closed robertpi closed 4 years ago
Hey,
I’ve been thinking about something like that for a while and I think I’d prefer to use #WATCH
define when it watch-mode rather than passing bool around.
I think this would be easier to implement:
#if WATCH
#endif
Does that look okay?
Oh, that's exactly what I've meant. I shouldn't write messages on GitHub before first tea ;-)
I've implemented this in b8fffa974d43a99744a65e75a1ff44a89bbc83e4
This gives a cleaner way to test whether the refresh js socket should be injected or not