diff --git a/hexo_run.js b/hexo_run.js index 540f9d2..2ad6f7d 100644 --- a/hexo_run.js +++ b/hexo_run.js @@ -1,6 +1,6 @@ //run const { exec } = require('child_process') -exec('hexo server -p 4000',(error, stdout, stderr) => { +exec('hexo server -p ${HEXO_SERVER_PORT}',(error, stdout, stderr) => { if(error){ console.log('exec error: ${error}') return