File tree Expand file tree Collapse file tree 4 files changed +1470
-1546
lines changed Expand file tree Collapse file tree 4 files changed +1470
-1546
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const serveStatic = require("serve-static");
44const connect = require ( "connect" ) ;
55const livereload = require ( "connect-livereload" ) ;
66const lrserver = require ( "livereload" ) ;
7- const opn = require ( "opn " ) ;
7+ const open = require ( "open " ) ;
88const chalk = require ( "chalk" ) ;
99const util = require ( "../util/index" ) ;
1010const getPort = require ( "get-port" ) ;
@@ -59,7 +59,7 @@ module.exports = function(
5959 . watch ( path ) ;
6060
6161 if ( openInBrowser ) {
62- opn ( `http://localhost:${ port } ` ) ;
62+ open ( `http://localhost:${ port } ` ) ;
6363 }
6464
6565 const msg =
Original file line number Diff line number Diff line change 33const connect = require ( "connect" ) ;
44const serveStatic = require ( "serve-static" ) ;
55const Renderer = require ( "docsify-server-renderer" ) ;
6- const fs = require ( "fs" ) ;
76const util = require ( "../util/index" ) ;
87const chalk = require ( "chalk" ) ;
98const LRU = require ( "lru-cache" ) ;
You can’t perform that action at this time.
0 commit comments