Running a NUE server loop #39
Unanswered
Axellarator
asked this question in
Q&A
Replies: 2 comments
-
|
Super cool! Can you think of a hack where both the Apache and the browser reload when there is a file change so that there is no need to wait for n seconds? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Update: created nue-loop.sh It covers now the three relevant directories. Script starting point is always the create-nue directory and don't forget chmod +x. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Making modifying
create-nuea bit easier. I use Apache as server, but Nginx and other will do the job, too.cp-www.shchmod +x cp-www.shpackage.jsonand add theapachelinelayout.nuethis line:Now you will see every change in
srcin your browser with localhost. Every 10 second Apache does an update. Shorten the refresh to 5 or 1 second, depending on your personal flavor.Beta Was this translation helpful? Give feedback.
All reactions