File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/zenn-cli/cli/preview Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 88## Authors
99
1010- CatNose ([ @catnose99 ] ( https://twitter.com/catnose99 ) )
11- - Hori Godai ([ @steelydylan ] ( https://github.com/steelydylan ) )
11+ - Hori Godai ([ @steelydylan ] ( https://github.com/steelydylan ) )
12+
13+ ## Huge thanks
14+ - noriaki watanabe ([ @nnabeyang ] ( https://github.com/nnabeyang ) )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export const exec: cliCommand = async (argv) => {
3030 if ( watch ) {
3131 const watcher = chokidar . watch ( process . cwd ( ) ) ;
3232 const io = socketIo ( server ) ;
33- watcher . on ( "ready" , ( ) => {
33+ watcher . once ( "ready" , ( ) => {
3434 io . on ( "connection" , ( socket ) => {
3535 watcher . on ( "all" , async ( _ , path ) => {
3636 if ( / a r t i c l e s | b o o k s / . test ( path ) ) {
You can’t perform that action at this time.
0 commit comments