Ah, I see. I’m mainly doing it this way so that I can use Git with the atom installation on the local machine. But if it can’t be done, it can’t be done. Since the code is “statically” injected into the main file, I thought it would be possible.
When I run the following in the local file:
println("$(@__DIR__)")
println("$(pwd())")
On the repl I see:
/home/.../
/home/...
which is consistent with the remote directory but not the local directory.
@baggepinnen Thanks. I’m trying to avoid spinning up any local processes at all, but if I understand the method correctly this will work well in the scenario with both local and remote processes.