05.10.2017, 08:42
Hi, Erwin,
thanks for the answer.
I have such structure:
resident script that runs every 60 seconds with require('user.modules').
So I suppose the user.modules is loaded every time I "require" thus they are compiled and run. But...I can changes "modules" code and nothing happens, "modules" runs the old code.
I can change resident script (changes are compiled), but required module that declared inside recompiled resident script isn't compiled.
P.S.
Erwin, thanks for Sonos script, unfortunately I failed to run door_bell.mp3 on my Sonos, but I will try harder
Alius
thanks for the answer.
I have such structure:
resident script that runs every 60 seconds with require('user.modules').
So I suppose the user.modules is loaded every time I "require" thus they are compiled and run. But...I can changes "modules" code and nothing happens, "modules" runs the old code.
I can change resident script (changes are compiled), but required module that declared inside recompiled resident script isn't compiled.
P.S.
Erwin, thanks for Sonos script, unfortunately I failed to run door_bell.mp3 on my Sonos, but I will try harder
Alius