plmustache
plmustache copied to clipboard
Nix workflow is clunky
Problem
To compile, right now I do:
$ nix-shell
And to recompile:
$ <Ctr-C to exit>
$ nix-shell # again
Proposal
Similarly to the postgrest repo, a:
$ plmustache-watch plmustache-build
Would be ideal. Even just a plmustache-build command where exiting manually is not needed would be an improvement.
For solving this, I've realized that we need a extensions_dynamic_path config, which has been proposed before but not implemented.
- https://www.postgresql.org/message-id/flat/CAGRY4nyHd4aVL_T%3D-FRzofLVwxHX06bqz4hb_GbzBafp9XR0NA%40mail.gmail.com
I looked at the implementation and it didn't seem at all difficult but looks like other people are already on it:
- https://www.postgresql.org/message-id/flat/E7C7BFFB-8857-48D4-A71F-88B359FADCFD%40justatheory.com
Maybe we can include it as a patch for now.