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
-
Making modifying
create-nue
a bit easier. I use Apache as server, but Nginx and other will do the job, too.cp-www.sh
chmod +x cp-www.sh
package.json
and add theapache
linelayout.nue
this line:Now you will see every change in
src
in 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