supermedium / aframe-watcher

👀 Companion server for A-Frame Inspector to sync changes back to HTML files.
https://supermedium.com/aframe-watcher/
MIT License
96 stars 23 forks source link

Material component properties edited in the inspector are not updated in corresponding HTML file #15

Open TimLafosse opened 3 years ago

TimLafosse commented 3 years ago

My intention is to change, for example <a-entity id="updateMe" position="-0.98 2.71 -3.61" rotation="0 25 0" geometry="" material="color: red"></a-entity> to instead have a blue color by editing the value in the visual inspector, resulting in <a-entity id="updateMe" position="-0.98 2.71 -3.61" rotation="0 25 0" geometry="" material="color: blue"></a-entity>.

However saving this change to my HTML file via aframe-watcher appears not to work. For what it is worth, live changes with aframe-watcher to position/rotation appear to work.

I am using src="https://aframe.io/releases/1.1.0/aframe.min.js" in my script element