I am developing a custom node and testing it on a local n8n on Docker. After writing the code in the node repository, I compile it, then take the /dist folder and replace the previous similar folder in the /custom folder with it. Then I restart Docker, and only then can I test my node.
Is there an easier way to debug a node? For example, so that when I change the code in the node repository, I can immediately see the changes in the n8n environment?