Docsify: How remove live reload?

Created on 20 Jul 2018  ·  4Comments  ·  Source: docsifyjs/docsify

Is there an option to deactivate the live reload?

Thanks

Most helpful comment

You can use http-server instead of docsify serve. Note that you should run npm install http-server -g first.

All 4 comments

Excuse me, what is live reload?
Give me an example 😐

If you open your doc in a browser and you modify the .md files, you will see your web page automatically updated.

Also, if you display the source code of the web page, you will see this line at the end:

<script src="//10.2.3.19:35729/livereload.js?snipver=1" async="" defer=""></script></body>

There is an openned connection on port 35729 waiting for an update of the documentation.
You can also specify the reload port using the argument -P, ex: -P 35730

I dont need this feature.

Well, I didn't know that. Sorry.

Please @QingWei-Li, can you give us a ✋ here, please?

You can use http-server instead of docsify serve. Note that you should run npm install http-server -g first.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dooart picture dooart  ·  5Comments

smlbiobot picture smlbiobot  ·  5Comments

lukasmrtvy picture lukasmrtvy  ·  5Comments

msi-matthew picture msi-matthew  ·  5Comments

sijakret picture sijakret  ·  3Comments