How do I preview Hexo server?

I would like to ask how to make Replit’s webview provide a preview. I have tried the following instructions, but the webview displays: “Start a server to see the hosted output.”


hexo server -i -p 5000

Repl link:

For me, running that command says command not found.

But, I think it’s because your project contents are in another folder. You’re trying to run that command in the root directory, I think. So, you’ll wanna run cd blog and THEN run that command. Also, clicking the Run button will do nothing because by default, the run button runs index.js in the root directory, which is empty right now.

Yes, I executed cd blog, but in the end the result I showed above happened.

1 Like