Open hannahroksanne opened 4 months ago
I tried making the script aframe-watcher ./index.html & vite but Vite stole the focus of the terminal when it prompted Y/n.
aframe-watcher ./index.html & vite
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.
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.
id
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.