Terminal stops working when is not focused

I have weird problem. When i run process from terminal or from npm menu (like npm run dev). Everything goes well. But when i focus on editor and change something and save process is not active and do not do reload. When i focus manually on terminal or run window then it react and do hot reload. 

It makes work almost impossible with build in terminal.  Please help.  

0
3 comments

>But when i focus on editor and change something and save process is not active and do not do reload.

Do you use File > Save all to save the changes? switching focus to terminal normally auto-saves changed files, that's the reason reloading works when focusing it

0
Avatar
Permanently deleted user

Hmm ok. When i use Save all then terminal not have to be focused to do hot realod.

I am ok with auto save when switching focus on terminal. But why terminal doesn't react after normal save? After Save all is ok. I won't switch to terminal after  every change.

 

EDIT:

Ooooh i get it now. There is no option for save single file?

EDIT

Ok i foud it. 
So i was sure i save file by click ctrl+s but im not. And after i switch focus to terminal, then it saves file and reload. 
So VSC keymap is a little broken ;)

0

>So i was sure i save file by click ctrl+s but im not. And after i switch focus to terminal, then it saves file and reload.
So VSC keymap is a little broken ;)

 

see what action Ctrl+S is assigned to, and try re-assigning it to Main menu | File | Save All in Settings | Keymap

0

Please sign in to leave a comment.