@skaterdav85 wrote:
I have a simple node script where I run
node index.js
and it waits and requires the user to Control + C to exit. I want to put this under a custom ember command. I already have the command set up, but therun
function always exits, unlike when I run the node script standalone. How can I have it wait for the user to Control + C to exit just like when I runnode index.js
? Any tips or what to search for would be much appreciated!EDIT: Return a promise from the run method and it fixes it.
Posts: 1
Participants: 1