simonw / datasette-lite

Datasette running in your browser using WebAssembly and Pyodide
https://lite.datasette.io
Apache License 2.0
329 stars 27 forks source link

Run `await ds.invoke_startup()` #47

Closed simonw closed 2 years ago

simonw commented 2 years ago

It looks like Datasette Lite does NOT invoke that method, which is likely a bug: https://github.com/simonw/datasette-lite/blob/e7ccaf621b3cdf613ebaf544304d387f2af32edf/webworker.js#L103-L110

Originally posted by @simonw in https://github.com/simonw/datasette/issues/1809#issuecomment-1247317941

simonw commented 2 years ago

The lack of this at the moment could break some plugins, and will break everything if I land the change I'm considering in https://github.com/simonw/datasette/issues/1809#issuecomment-1247316715