'Refresh flow without rebooting node server
I'm working with Total.js Flow. I would like to know if is possible to refresh my flow if I edit designer.json without rebooting my node server.
Solution 1:[1]
This is currently not possible. But I'll add something like FLOW.reload()
might this week :-). But you will need to add some scheduler
or watcher
for watching of designer.json
file because FLOW.reload()
will perform only reloading of Flow.
UPDATE: new version of Total.js Flow v6
supports hot reloading of designer.json
file. It can be reloaded by executing FLOW.reload()
method for example in code
component or directly in application.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |