node-eth / node-eth-packages

Monorepo containing all the packages developed / in development by the NodeETH team. Repo will get you set up to start developing with the use of hardhat and nodeRED
https://docs.nodeeth.org
Apache License 2.0
1 stars 1 forks source link

(__Scripts__) Hot-reload when developing packages #10

Open Madjarx opened 1 year ago

Madjarx commented 1 year ago

Currently, the rebuild.sh script in the ./scripts/ folder is not being invoked once nodemon notices the changes

This issue is in correlation to the #9 - Rebuild script

The idea is that, when developing: watcher/development script is initiated -> nodemon picks up the changes in js/html -> fires off the rebuild script

We should make sure that the local nodeRED installation is not getting pruned on every rebuild too. That should be completed with @benlazzero 's latest commit to the scripts folder - https://github.com/node-eth/node-eth-packages/commit/22bdff271d6f19cf39c1ff69352f69ea5ec68339

This is currently not working, rebuild must be initiated manually. It is not that resource intensive, although it can be PITA sometimes cus you may lose some nodes if you didnt deploy them before refreshing the nodeRED UI on 1880

Madjarx commented 1 year ago

@benlazzero Assigning you too but we will take a look into this once we get some free time in the upcoming weeks