Sridhar Ratnakumar
Sridhar Ratnakumar
On macOS, we need this to be able to put `git` on $PATH ahead of `/usr/bin` (which has Apple's own git binary). Which in turn is necessary for programs that...
Isn't this an issue with upstream library which emanote uses? https://github.com/jgm/commonmark-hs
Properly solving this (and #118) will require support for compiling Tailwind on the fly in live server of Ema: https://github.com/EmaApps/ema/issues/20 In the interim, perhaps we can allow disabling compiling Tailwind...
Stretch goal: it should automatically `git pull` behind the scenes; ideally doing it in response to commit push webhook notification, rather than polling.
Could be something to do with Ema's websocket reload logic (which uses `morphdom`). See https://ema.srid.ca/topics/hot-reload Here's the JavaScript code if anyone wants to help with this: https://github.com/srid/ema/blob/master/ema/www/ema-shim.js EDIT: Probably not;...
I debugged this using Chrome inspector's memory profiling, and two things cause the memory leak: 1. highlightjs 2. stork re-registering If you use a pre-stork Emanote (`nix run github:srid/emanote/0828297369dc4753134ff67287d0c303111f5c48`) with...
@dpaetzel Try #412 (`nix run github:srid/emanote/stork-leak`) along with removing `highlightjs` from your configuration, and let me know if that helps. EDIT: I've merged it; so you can just update Emanote...
@dpaetzel Have you been able to confirm the fix? Can we close this issue?
@dpaetzel I do not understand. Your [earlier comment](https://github.com/srid/emanote/issues/411#issuecomment-1415319360) says the memory leak is fixed; but your [later comment](https://github.com/srid/emanote/issues/411#issuecomment-1415324344) indicates otherwise. Can you monitor memory usage **over time**. When you first...
> However, I still noticed at least once that one of the Emanote tabs still used ~1GB of RAM. I guess this may indicate that there is another (less severe?)...