Skip to content

Using load-file to emulate source-tracking eval will not work with piggieback 0.2.1 #1088

@cichli

Description

@cichli

See nrepl/piggieback@46e30fd. The file slot is now ignored, and instead the contents of file-path are always loaded from disk. This means that the interactive eval commands that rely on load-file will not do the expected thing at all when using piggieback 0.2.1.

I guess, ideally, the source-tracking eval patch (or something equivalent) will be merged to nREPL, and then the equivalent changes made in piggieback also - but I think this will potentially require upstream changes in ClojureScript itself. The string <cljs repl> is passed as the file name in a lot of places in cljs.repl, so piggieback would need some way of dynamically binding this.

Paging @cemerick... any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions