Skip to content

Add :compile and :watch commands to REPL#1362

Draft
marvinborner wants to merge 2 commits intomainfrom
feat/repl-watcher
Draft

Add :compile and :watch commands to REPL#1362
marvinborner wants to merge 2 commits intomainfrom
feat/repl-watcher

Conversation

@marvinborner
Copy link
Copy Markdown
Member

This significantly improves upon workflows that do not use the visual studio code extension.

Due to the caching already implemented in the compiler architecture, watching/compiling repeatedly in the REPL will not require compilation of files that did not change.

TODO: also track dependencies in :watch

Comment thread effekt/jvm/src/main/scala/effekt/Repl.scala
@marvinborner
Copy link
Copy Markdown
Member Author

@jiribenes (or anyone else), do you have any idea on how to get the full path to dependencies (possibly even without running the frontend explicitly)? Include in .includes only contains the basename without directory information.

@marvinborner marvinborner moved this from In Progress to Waiting for Review in Effekt Hackathon Spring 2026 Apr 10, 2026
@b-studios
Copy link
Copy Markdown
Collaborator

b-studios commented Apr 13, 2026

Is this ready for review? It still says "draft" :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting for Review

Development

Successfully merging this pull request may close these issues.

3 participants