generator-restify icon indicating copy to clipboard operation
generator-restify copied to clipboard

No bin/www?

Open VictorioBerra opened this issue 8 years ago • 3 comments

Why do some generators have this, and some dont?

VictorioBerra avatar Oct 13 '16 23:10 VictorioBerra

And what's that? I guess I haven't used one that has it.

chris-l avatar Oct 13 '16 23:10 chris-l

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 .

VictorioBerra avatar Oct 13 '16 23:10 VictorioBerra

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.

chris-l avatar Oct 14 '16 10:10 chris-l