I use my terminal to run stuff like npm run start
while I use the terminal in VSCode for git
commands. On my laptop, this worked perfectly, however after setting up zsh on my other device, there's something I've never noticed:
On my terminal: ~/Desktop/... | master *1
On VSCode's terminal: ~/Desktop/... | master *2
What do the numbers after master
mean? This has caused me to pointlessly debug for 1 hour after releasing, if I do npm run start
on my terminal, any changes on VSCode does not hot reload and apply the change. On the other hand, if I run npm run start
in VSCode, it works normally.
It seems as though each shell is working on a different version of the current branch. Any idea what the asterisks mean? Thanks!
$
. – Glasgo