The first time main.js is saved it gets executed.
Edit main.js a bit and save again. The afterSave is not triggered.
It works again (one time only) if the page is reloaded.
This bug occurs for me on Linux/Firefox, but on Linux/Chrome.
This seems to be a regression because it used to work on Firefox as well as Chrome.
Create a project with a 'main.js' file and some code in it.
Create a .scripted file with an exec afterSave block like so
The first time main.js is saved it gets executed. Edit main.js a bit and save again. The afterSave is not triggered. It works again (one time only) if the page is reloaded.
This bug occurs for me on Linux/Firefox, but on Linux/Chrome.
This seems to be a regression because it used to work on Firefox as well as Chrome.