tmedwards / tweego

Tweego is a free (gratis and libre) command line compiler for Twine/Twee story formats, written in Go.
https://www.motoslave.net/tweego
BSD 2-Clause "Simplified" License
124 stars 23 forks source link

Have watch mode issue warning about invalid passage name or tag instead of a full halt. #29

Open ArdiGame opened 3 years ago

ArdiGame commented 3 years ago

I have a lot of times where I'm typing a passage name, and I stop to think about what to put. Often, my passages have hyphens in them, which is where I usually pause. I also consistently forget that, combined with any kind of autosave, this causes Tweego to throw an error and come to a halt, resulting in having to start it up again.

Would it be possible if, instead of halting on that error in watch mode, ignore that passage and issue a warning about it on build?