Is there a parent process for node.js main process express()?
-
In start.js, code line:81 if (process.send) { process.send({ action: 'listening', });Who will receive the message?
-
@david_liuwx Take a look at
loader.js
-
@baris Thanks for you help. I debug the code by webstorm and run nodebb app.js. I will dig more into loader.js.
Now I encountered a problem when reading front end head.tpl in build/public/template/header.tpl.<section class="menu-section" data-section="navigation"> <h3 class="menu-section-title">[[global:header.navigation]]</h3> <ul class="menu-section-list"></ul> </section>
it seems menu-section-list ended there,so when the list is added into the html?
I cannot find the code to embed navigation list.
My nodebb version is 1.7.5 -
@david_liuwx I think that area is filled by the client-side code in persona here https://github.com/NodeBB/nodebb-theme-persona/blob/master/lib/persona.js
-
@baris Thanks for your quick response.While I still cannot find where the code is inserted by persona.js.
By the way,why a silde-out menu is add because I found the nav-bar is actually added in the end of header.tpl via helpers.js.