Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Launch a shell repl from within mach #11

Open
arichiardi opened this issue Feb 24, 2017 · 4 comments
Open

Launch a shell repl from within mach #11

arichiardi opened this issue Feb 24, 2017 · 4 comments

Comments

@arichiardi
Copy link
Contributor

Hello again, again 😄 (and sorry to bother so much)

Today I tried to launch lumo straight from mach but failed. It looks like the main process shuts down as soon as the "pipeline" is done. So a task like this:

  repl {depends [js clj]
       ;; below is a temporary hack waiting for mach to include lumo.io
       update! #$ ["lumo" "-c" (.toString (js/$$LUMO_GLOBALS.fs.readFileSync "cp")) "-r"]}

prints the lumo preamble and then quits.

I know maybe mach has not designed for this purpose, but I felt I could ask your thoughts.

@malcolmsparks
Copy link
Contributor

Hi Andrea - just to let you know we really appreciate all this feedback. Mach, as you know, is still in an experimental phase, and the clojurescript-on-the-server tech is rapidly progressing so stability isn't an option. We'll reflect on these issues soon and discuss with you of course, but in the meantime feel free to keep adding issues.

@arichiardi
Copy link
Contributor Author

A build tool towards this direction is indeed exciting and so I am the one who thanks you for it 😀
I will try to help if I have bandwidth of course. In this particular case, still don't know enough of what should happen, but the other issues are maybe more approachable.

jonpither added a commit that referenced this issue Aug 30, 2017
@jonpither
Copy link
Member

Currently the shell repl seems to hang after you type 'exit', not sure what is going on there right now.

jonpither added a commit that referenced this issue Aug 30, 2017
@stijnopheide
Copy link
Contributor

I'm not sure if this is related to this issue, but I'm seeing the same behaviour when issuing a terraform destroy from within mach, which asks for confirmation

Do you really want to destroy?
  Terraform will destroy all your managed infrastructure, as shown above.
  There is no undo. Only 'yes' will be accepted to confirm.

  Enter a value: 

But after entering yes, it hangs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants