Can someone provide some guidance in order to setting up the hot reloading ? I have an custom note and currently at every change I need to rum: npm rum build && n8n start which is not the ideal dev environment.
n8n version: 1.47.3
Running n8n via (Docker, npm, n8n cloud, desktop app): npm
On Windows you can do it with Powershell or bare cmd:
via powershell -$env:N8N_DEV_RELOAD = 'true'
via CMD - set N8N_DEV_RELOAD=true
Depending on what you are using to run npm, you should run the corresponsive command before starting the n8n. Keep in mind that the env variable will live only during that session (while the terminal window is opened)
Is the node project separated from the first two points? If so - then that won’t work. The environment will live only within the terminal window. That’s why you need to set the ENV and run the n8n from within the project
Sorry but still not working.
In my node directory I run the commands as below, if I change something in my execute function I don’t get the expected results.