SAP Commerce 1905
I have one node application which i want to integrate with my Hybris. I have created one custom addon and put my node application files inside addon extension. Now i want to run the below command on Hybris server start.
nohup npm start > output.log&
I am able to start my node server on ant build by putting npm command under myextension_compileuisrc_executor buildcallback.
But my goal is to perform only npm install on myextension_compileuisrc_executor not node server start.
Thats why i am looking over the way of starting node.js server on Hybris Server Start. I could not find any target in buildcallback where i can inject my server start command.
How to achieve that ?
UPDATE :
Tried with myextension_before_startHybrisServer as well but no luck -
<macrodef name="myextension_before_startHybrisServer">
    <sequential>
        <npm-start/>
    </sequential>
</macrodef>