jataware / beaker-kernel

Contextually-aware notebooks with built-in AI assistant
https://jataware.github.io/beaker-kernel/
MIT License
2 stars 2 forks source link

Two minor tweaks #49

Closed mattprintz closed 5 months ago

mattprintz commented 5 months ago
  1. Moved get_subkernel_state to be a regular method instead of just an action so we can use it directly in code without worrying about messages. Added message handing and action decorator to get_subkernel_state_action, but with an action name of get_subkernel_state so it does not affect existing code.

  2. Added ability to pass extra dirs to watch when running beaker server in dev mode using the new --extra_watch_dir command line argument. Allows one to specify other code locations to watch for changes and will restart beaker if changes are found.