I have used pm2 in the past for my express applications. I really like it. How do I run it hexo . Hexo starts with a hexo server , not a js entry point.
hexo
hexo server
If you are using Linux or OSX, you can run it using a bash script.
Create a file called hexo.sh with the following
#!/usr/bin/env bash hexo server
Then just plain
pm2 start hexo.sh
I think you can try:
pm2 start app.js -- server -s
Where app.js is a simple file containing this:
require('hexo-cli');
Source: https://habr.com/ru/post/1237912/More articles:How to change CheckMark Color CheckBox in WP8.1? - c #Cron Expression: What's the Difference? and * in cron expression? - cronhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1237909/why-i-cant-fetch-data-on-the-sometime-by-using-curlsetopt-and-ajax-jquery&usg=ALkJrhhGE4_4Ozqh8zdJ8juPBAN0lVwofwHow to add background image with zoom in / zoom out to sigma.js - javascriptSetting line breakpoints in Intellij 15.02 does not work - intellij-ideaPL / SQL conversion of special characters - oracleHow to enable OData in ASP.Net 5 Web API - asp.netkeystroke and keydown events if the user types too quickly - javascriptUsing Python and Regex to extract different date formats - pythonMultiprocessor module for updating a common dictionary in Python - pythonAll Articles