
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.
I tried making the script
aframe-watcher ./index.html & vitebut 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
idfor watcher to be able to update it, as per the last line of the README.md.