tidbyt / pixlet

Build apps for pixel-based displays ✨
https://tidbyt.com
Apache License 2.0
756 stars 107 forks source link

--watch flag not working #16

Closed mackorone closed 3 years ago

mackorone commented 3 years ago

The --watch flag isn't working on my machine (Ubuntu 16.04 LTS). Here's the command I'm running:

pixlet serve --watch nyan_cat.star

Here's the output:

Loaded tidbyt-nyan-cat/nyan_cat.star, watching for changes
listening on tcp/8080

Whenever I update the nyan_cat.star file, I have to restart pixlet and refresh the webpage to see the changes. Isn't the --watch flag supposed to eliminate need to restart pixlet?

rohansingh commented 3 years ago

Whenever I update the nyan_cat.star file, I have to restart pixlet and refresh the webpage to see the changes. Isn't the --watch flag supposed to eliminate need to restart pixlet?

Yes, it is. Looking into this.

matslina commented 3 years ago

Seems to have been a vim specific issue. #24 hopefully fixes it.