Exit on Integrated terminal with zsh.
- VSCode Version: 1.2.0
- OS Version: Ubuntu 16.04 x64
- Terminal: Using zsh as terminal by default.
Steps to Reproduce:
- Toggle integrated terminal.
- Type
exitto end session.
Terminal session is closed, but panel is not. You can toggle many times terminal, but do not open new session, you can not use it until you restart VS Code.
Using Bash, exit closes the panel, and toggle it again brings a new session.
I cannot reproduce this on 1.2.0 stable, is it consistently reproducing @ramonsan? Can you check the console in devtools to see if there are any errors (Help > Toggle Developer Tools)?
I tried today and seems it work as expected.
~~Maybe was related with some comand used friday. I will investigate the posible cause of that behavior.~~
EDIT:
The problem is with ionic client. I was running ionic serve that watch src directory.
Steps to reproduce:
- Toggle integrated terminal.
- Run ionic serve on a ionic project.
- Create a new folder, with a new file in a watched directory (ie. www/js/test/test.js).
- Drag and drop that folder into another folder inside a watched directory (ie. www/js/second/test/test.js).
- That breaks ionic cli, showing an error in terminal, and you return to prompt.
- Now, you can use terminal normally, but if you type exit it can not be reloaded.
I tried in a blank project, and error displays but you can exit normally. I am using babel transpiler in my current project so, I should be a specific issue with livereload related to ionic and not to VS Code.
Things in this area changed a lot in v1.3, closing this as resolved. Please reopen/comment if you can reproduce in the Insiders build.