Struggling with a puzzling issue in IntelliJ related to the automatic deployment of changes while my server is running (specifically Spring Boot).
I've made sure to enable the "Build project automatically" option in my IntelliJ settings.
Whenever I modify a .ts file, the .js and .js.map files are properly updated in the code.
However, the .ts file itself does not get updated in the target directory. Luckily, pressing the "Compile" shortcut refreshes the .ts file in the target output. So far so good.
The problem arises when the target .js and .js.map files fail to update. No matter how many times I attempt to compile them, they remain unchanged. This results in a mismatch between the .ts and .js files, requiring me to restart the server for the .js file alterations to take effect.
To make matters stranger, this process works seamlessly on my work computer - even though I've double-checked that the settings are identical to those on my home machine. Strangely enough, a colleague also faces this issue on his work computer despite our efforts to find any discrepancies in the settings.
It appears as if IntelliJ detects file changes in some configurations but completely overlooks them in others, especially those involving generated files.
If anyone has any insights or suggestions, please do share!