vonstring
vonstring
I've just used Vite's [vite:beforeUpdate](https://vitejs.dev/guide/api-hmr.html#hot-on-event-cb) to close the server: ```typescript server = startServer(); if (import.meta.hot) { import.meta.hot.on('vite:beforeUpdate', () => { server.close(); }) } ``` Seems to work reliably!
FWIW this runs fine for me on MacOS. I get the same errors as @dnhkng when running ctypesgen, but the generated wrapper works fine anyway, and the example runs fine...
The [Pybind11 binding ](https://github.com/aarnphm/whispercpp) from the readme also works for me, as long as I update the whisper.cpp submodule. But no GPU support, sadly.