Creating a new JS chain and calling it in an existing one is not recognized. You have to restart the server.
- Say you have a JS Automation chain, for example MyJS
- Create a new one. For example, DoThis
- In MyJS, call DoThis:
- Deploy the changes via Hot Reload ("Update" in the Admin Center)
- Test the changes => This leads to an error:
To make the thing work, you have to restart the server.