Running service interactively no longer works as s...
# 🌱|help-and-getting-started
Hi! I'm new to garden and just set up my first project to try it out. Read the following line in the docs ( . *Running a single ad-hoc service and attaching: `garden run service my-service --interactive # or -i for short`*. However this command fails and the CLI no longer lists
as an option for the command
garden run service
. Is there a new way of running a service interactively that hasn't been documented yet?
Hello there! @kind-carpet-47197 would you mind sharing your garden version please!
What happens if you run it without the --interactive? It seems like that option has been removed from that command. Definitely we will need to remove it from the documentation. Do you mind explaining a little bit what do you want to achieve with this new Garden setup? I wouldn't mind giving you a hand on some tips & tricks to make it work! Welcome to Garden🌸
Thanks @bright-policeman-43626! The immediate challenge I'm facing is running a test suite from within a container and being able to interact with it through the command line. I'm using jest (and vitest) in interactive watch mode and if I start it locally I can e.g. press enter to rerun or 'h' to show help. When starting the same tests using garden stdin doesn't reach it, even though I've set
tty: true
Could this be a
issue? I'm trying this out on docker-for-desktop
I just checked locally and maybe instead you can try to add a tests: block? Then you can run garden run test api jest —interactive
Seems like this is the one you could use