evothings / evothings-studio

Evothings Studio
http://www.evothings.com/
Apache License 2.0
53 stars 33 forks source link

File sync feature not triggering reload for OTA transfers etc #158

Closed gokr closed 8 years ago

gokr commented 8 years ago

Several partners we have been talking to would like to have OTA update mechanisms going from Workbench->mobile->IoT device (over BLE). The idea here is to enable this by using our regular hyper reload mechanism, but instead of triggering a reload in the Viewer, we call a javascript hook so that the Evothings application can handle the new file in whichever way it pleases.

The evothings.json could have an entry pointing at directories that should have this alternate syncing behavior (no reload trigger but instead call a callback in the viewer).

gokr commented 8 years ago

AFAICT we have a beginning of this - but very "manual". We don't have a way to listen to specific directories or file extensions using this mechanism.