pm2配置文件不起作用

时间:2018-07-16 03:57:07

标签: javascript pm2

我在运行应用程序的pm2上遇到问题。

我有如下配置脚本。

jQuery(document).ready(function() {
  var me = jQuery(this);


  jQuery(".post-thumb").on("mouseover", function() {
    var data_id2 = jQuery('img', me).attr("data-id");
    console.log(data_id2);

  });

});

然后运行该脚本,例如'pm2 start pm2.config.js --name test“

我可以看到此实例运行良好。但是当我访问localhost:5000时,什么都没有打开。.

为什么我的pm2配置脚本不起作用?

0 个答案:

没有答案
相关问题