etkachev / nx-webstorm

Plugin for Webstorm that strives to function the same as Nx Console for VsCode. UI for Nx
MIT License
35 stars 4 forks source link

Issue with re-running generate command from nx console when integrated terminal window is opened #95

Closed fyodorio closed 1 year ago

fyodorio commented 2 years ago

Current Behavior

When I run some generate command in nx console in Webstorm it opens the integrated terminal window (or tabs of it, if it's dry run and simple run). If after that I run another command, it doesn't run until I close the already opened terminal window.

How to Reproduce

Steps to reproduce the behavior:

  1. Go to nx console plugin view
  2. Choose generate and one of the schematics
  3. Wait until it finishes successfully, do some random stuff
  4. Try to run some other generate command for another schematic while the terminal window is still open
  5. Nothing happens

Expected Behavior

The command should successfully run repeatedly even if the terminal window is still opened

Desktop (please complete the following information):

Additional context

Looks like the problem persists even if I run something different in the same terminal windows (dry/simple) between nx command run attempts. So only closing the terminal window helps to run nx generate again.

etkachev commented 2 years ago

Hello @fyodorio !!

Good to hear from you. Yea I was trying to run locally and had issues reproducing πŸ€” I tried several generators and reran several times with it running successfully. Trying to see what else might be happening.

image
fyodorio commented 2 years ago

May it be some conflicting plugin or specific terminal shell? I'll try to record a video of that, and list more details this week, just in case.

fyodorio commented 2 years ago

Hey man, I have recorded the video of the issue finally (sorry it took quite some time), will send you on twitters, I hope it will help. But honestly speaking, I have no idea what could cause that except for some plugin/extension conflict (terminal shell might be the case as well, but shouldn't be, because it's not the shell which is responsible for the terminal window itself or opening/closing it, right? anyway, it's zsh). So if it doesn't reproduce for you, I'm totally OK with closing the issue, as it's not blocking, just a bit confusing, and I thought it might be the case for others as well.

etkachev commented 1 year ago

I also wanted to let you know about slowly deprecating this plugin in favor for the official on by Nrwl: https://plugins.jetbrains.com/plugin/21060-nx-console

fyodorio commented 1 year ago

That makes sense, thanks for the heads up. And thanks for the great plugin anyway Edward, I use it still πŸ‘

etkachev commented 1 year ago

Yea makes it easier for me so I don't have to keep up with the maintenance πŸ˜