I'm writing TypeScript and there is a command npx tsc --watch
that will (over)write to an output file every time the source file is changed. I open one split for each of these files. But when I save the source file the output file didn't get updated. How?
As the following img indicates: I've saved the file on the left, but the file on the right isn't changed/synced. I'm willing to record the entire process if someone really want to help me solve this tricky problem.
:w
twice to reflect the changes I've made to the output file, which is opened in a split in my neovim, which is generated every time the input file, which is also opened in a split in my neovim, is changed.