about livereload
Brannua opened this issue · 9 comments
Excuse me,
I only serve just one document using docsify listening on port 3000 currently
but the live-reload is not available unless i change the port, such as execute docsify serve . -p 1234
Why I can not use the defalut port 3000 ?
And how can I detect live-reload port is being used ?
Thanks~
The default ports are 3000 and 35729.
--port, -p Listen port. [number] [default: 3000]
--livereload-port, -P livereload Listen port. [number] [default: 35729]
I can't reproduce your question, what is your environment?
Why I can not use the defalut port 3000 ?
And how can I detect live-reload port is being used ?
-
Why I can not use the defalut port 3000 ?
-
And how can I detect live-reload port is being used ?
@Brannua 你可以加我微信我帮你看看什么问题 ob_start
Use lsof
to view port listening information
lsof -i:35729
If localhost is not available, you can try 0.0.0.0
If the pwa service is used, then it may not take effect.