This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
entwine:combining_several_twine_stories_into_one [2016/05/19 22:12] klembot [Setup] |
entwine:combining_several_twine_stories_into_one [2017/10/09 20:39] (current) |
||
---|---|---|---|
Line 86: | Line 86: | ||
</code> | </code> | ||
- | As noted in the Gruntfile, you'll need to edit the file names to match the stories you have in Twine. | + | As noted in the Gruntfile, you'll need to edit the file names to match the stories you have in Twine. |
+ | |||
+ | ==== Using It ==== | ||
+ | |||
+ | Type ''grunt'' and press Enter in your terminal window to build your story. It'll appear in your project's **dist** folder in a file named **my-story.html**, unless you changed that name in your Gruntfile. | ||
+ | |||
+ | Typing ''grunt watch'' and pressing Enter in your terminal window will start Grunt watching your Twine stories for changes. As you edit in Twine, the files will be automatically copied to your **src** folder and the merged story will be rebuilt in **dist**. You can hide away the terminal window as you work. | ||
+ | |||
+ | If you'd like the watch process to end, press Control-C in the terminal window. Windows will ask you if you're sure you want to quit this process; OS X and Linux will immediately quit it for you. |