generator-restify
generator-restify copied to clipboard
No bin/www?
Why do some generators have this, and some dont?
And what's that? I guess I haven't used one that has it.
http://stackoverflow.com/a/23249547/1777780
On Oct 13, 2016 6:50 PM, "christopher luna" [email protected] wrote:
And what's that? I guess I haven't used one that has it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chris-l/generator-restify/issues/9#issuecomment-253672538, or mute the thread https://github.com/notifications/unsubscribe-auth/ACzG6zgP9ApOP279i6Q3zMhSotBlFnWrks5qzsPXgaJpZM4KWe9D .
Ohn, I see. I normally start my apps like node .
That will start the script that is on the "main" property of the package.json
file of the current directory, which in the case of projects generated with this generator, is index.js
Well, then I guess the answer to the question would be that some of the authors of generators are used to create a bin/www
for startup, but not everybody does. (I didn't knew about it)
But I do like the idea of having npm start
, so I'll implement that later.