Skip to content

Reloading Python dependencies #1280

@fosskers

Description

@fosskers

Thanks for Basilisp, it's improving my ability to debug Python code.

My team does all Python work with uv, and in my own editor (through CIDER), I invoke basilisp with the following Emacs settings:

(setq cider-basilisp-command "uv"
      cider-basilisp-parameters "run basilisp nrepl-server"))

With basilisp marked as a dev dependency in my pyproject.toml:

[dependency-groups]
dev = ["basilisp"]

With this, Cider "just works". However, I've noticed that even when Python dependencies are marked as editable = true, it's not possible to "live reload" them into Basilisp without completely restarting the REPL. This is true both in the commandline REPL as well as within Cider. A normal Lispy workflow is to be able to make live edits down in some dependency, tell the REPL to reload it, and then immediate execute my higher code with the changes reflected. Would this be possible with Basilisp as well?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions