mirror of
https://github.com/tmedwards/tweego.git
synced 2025-07-04 21:50:33 -04:00
[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:
parent
57e1aa52ff
commit
1bb4278938
15 changed files with 123 additions and 64 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue