nijikokun / sugarcube-starter

Easy to use starter kit for creating stories with Tweego, Twine and SugarCube.
16 stars 3 forks source link

Live reload doesn't work after the first reload #2

Closed rhyses-pieces closed 2 years ago

rhyses-pieces commented 3 years ago

Hello! I'm trying out this starter, but I noticed that the Live Reloading feature only works on the first rebuild, and not on subsequent rebuilds. I tried using the "--watch" option in the config file like this:

"tweego": {
  "dir": "./.tweego",
  "options": ["--watch"],
  …
}

… but the terminal stays stuck at this message when it's building the index.html file:

[builder] [init] Running build.

Watch mode started.  Press CTRL+C to stop.

Recursively watched paths: 3
  src\story
  dist\scripts
  dist\styles

BUILDING: dist\index.html

Is there any way to get both the Tweego rebuilding and style/js rebuilding processes to work at the same time?

nijikokun commented 2 years ago

I'd have to know what issues would be occurring that are preventing it from reloading.

nijikokun commented 2 years ago

This has been fixed in the latest release!