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

‼️ This is how I got it to work: #28

Open hannahroksanne opened 4 months ago

hannahroksanne commented 4 months ago

CleanShot 2024-05-23 at 19 23 17@2x

I tried making the script aframe-watcher ./index.html & vite but Vite stole the focus of the terminal when it prompted Y/n.

By running it after Vite, it maintained focus, so I could save changes to files, but also I lost control to be able to end the script with ctrl-c.

Just... my findings for anybody exploring this tool in the future.

Also take note that an entity must have an id for watcher to be able to update it, as per the last line of the README.md.