aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 201 forks source link

Reflect changes in the source HTML #549

Closed xeoneux closed 5 years ago

xeoneux commented 6 years ago

The example at https://aframe.io/aframe-inspector/example/ updates the source HTML as soon as changes are done using the inspector. How is this done?

The changes are not updated by default. Is there an option to enable this?

mauriciomartinez-itesm commented 5 years ago

I have this same problem, the error message is itself in the inspector

Uncaught SyntaxError: Unexpected token c in JSON at position 0
    at JSON.parse (<anonymous>)
    at o (aframe-inspector.min.js:37)
    at t.value (aframe-inspector.min.js:37)
    at t.value (aframe-inspector.min.js:37)
    at e.notifyAll (aframe-inspector.min.js:7)
    at o.close (aframe-inspector.min.js:23)
    at o.closeAll (aframe-inspector.min.js:7)
    at o.perform (aframe-inspector.min.js:7)
    at r.perform (aframe-inspector.min.js:7)
    at r.perform (aframe-inspector.min.js:7)

Hope the team keeps an eye on this

mauriciomartinez-itesm commented 5 years ago

I was using 8.2 and it didn't work, it works with this one: https://rawgit.com/aframevr/aframe/master/dist/aframe-master.min.js

ngokevin commented 5 years ago

the source HTML as soon as changes are done using the inspector.

That is not done at the moment.

This will do it soon: https://github.com/supermedium/aframe-watcher