devspace icon indicating copy to clipboard operation
devspace copied to clipboard

Open multiple terminal for each dependency

Open sandrotaje opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? In our use case, we are using a monorepo that has a root devspace file with dependencies that points to subfolders

Which solution do you suggest? I suggest, if it is feasible, opening multiple terminals, one for each dependency, to have a way to run a script at startup time and obviously to have the terminal of my container already opened as I would run devspace dev inside the dependency.

Which alternative solutions exist? Currently, we are running devspace dev from the root devspace and then we added two commands to enter a specific dep running directly a command inside the container (ex. npm start)

/kind feature

sandrotaje avatar Jun 29 '22 08:06 sandrotaje

@sandrotaje thanks for creating this issue! Not sure if I understand you correctly, but you want to open multiple terminals from a single terminal? Not sure if that is actually possible as most users use devspace inside an IDE and the terminals are usually tabs that cannot be created directly in the IDE without any sort of plugin / extension. However, when we would create an IDE integration we could think about adding this feature as I agree it would be very useful.

Right now we rather recommend to start either a single instance of devspace dev and then do devspace enter for each dependency in a separate terminal or run devspace dev independently for each dependency.

FabianKramm avatar Jun 29 '22 09:06 FabianKramm