[New, Update] Messy commit.

* [Update] Add module paths to watch files.  From the old Bitbucket repo, submitted by `MarkSill`.
* [Fix] Trim erroneous whitespace surrounding the story title.  From the old Bitbucket repo.
* [Update, Devel, Docs] Changed import and doc paths to point to the GitHub repo and removed Mercurial references.
* [Fix] Leading whitespace on passages is trimmed as intended.
* [New, Docs] Added an option to disable passage trimming (`--no-trim`).
* [Update] Update IFID commentary and cleanup.
* [Update] Switched to another SemVer module due to a few issues with the old one.
* [Update] Purged commented legacy & debug code.
This commit is contained in:
Thomas M. Edwards 2019-12-23 14:25:57 -06:00
parent 57e1aa52ff
commit 1bb4278938
15 changed files with 123 additions and 64 deletions

View file

@ -26,7 +26,8 @@ func main() {
// Build the output and, possibly, log various stats.
if c.watchFiles {
buildName := relPath(c.outFile)
watchFilesystem(c.sourcePaths, c.outFile, func() {
paths := append(c.sourcePaths, c.modulePaths...)
watchFilesystem(paths, c.outFile, func() {
log.Printf("BUILDING: %s", buildName)
buildOutput(c)
})