Closed Svish closed 6 years ago
can you try with the newest cli version? npm i riot-cli -g
@GianlucaGuarini Not sure if I'm doing it correctly (also, why isn't riot-cli
latest already?), but as far as I can see it's the same result:
the riot-cli@4
uses still an old chokidar version for the fs.watcher. The riot-cli@5
instead uses the newest chokidar@2 but it's a breaking change that can not land directly in riot@3
so I had to release it separately. I will look into this issue thanks for reporting it
this issue should be fixed in the latest cli versions riot-cli@4.1.1
and riot-cli@5.1.1
Trying to follow this tutorial about getting started with Riot. Was introduced to
--watch
, but it doesn't seem to do anything on my machine?All it does is print out a "Watching" message, but it doesn't even compile the tags to begin with, let alone watch for any changes. I.e. after I run the command, I still have no
index.js
, and re-saving any files doesn't trigger anything either. 😟Zipped up code, in case structure has anything to do with it: riot-1.zip