Hot reloading for custom node package

Hi n8n,

Describe the issue/error/question

We have created a custom node module that is automatically added when our Docker image is build. During development, this means we have rebuild this image every time we make a change to one of the custom nodes. Since this takes more than a minute on every iteration, this isn’t a great developer experience.

Question

We are wondering if it is possible to have hot-reloading active while working on a custom node within a custom node module. Our repository currently only exists of a custom-nodes folder with the custom module including our custom nodes, and some Docker files for the build. Is it possible to enable hot-reloading using this structure?

Information on your n8n setup

  • n8n version: 0.174
  • Database you’re using (default: SQLite): SQLite
  • Running n8n with the execution process [own(default), main]: own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker
1 Like

Hi @Pim, welcome to the community :tada:

I can see where you’re coming from but am not aware of an option to enable the hot reload approach for your custom module right now unfortunately. So I shall convert this question into a feature request so you and other users can vote on it and helping our team with prioritizing their work.

Thank you very much @MutedJam.