mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-12-02 03:59:19 +08:00
8d5d20480a
BREAKING: SSR removed Anyone depending on SSR will need to stay on an old Docsify version for now, move forward without SSR, or maintain SSR against a fork of updated Docsify. We have ideas on a better way to implement SSR, but these ideas have not been implemented yet.
11 lines
173 B
JavaScript
11 lines
173 B
JavaScript
const liveServer = require('live-server')
|
|
const middleware = []
|
|
|
|
const params = {
|
|
port: 3000,
|
|
watch: ['lib', 'docs', 'themes'],
|
|
middleware
|
|
}
|
|
|
|
liveServer.start(params)
|