Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why "#!/usr/bin/env node" in www? #27

Closed
victorwoo opened this issue May 19, 2014 · 1 comment
Closed

Why "#!/usr/bin/env node" in www? #27

victorwoo opened this issue May 19, 2014 · 1 comment
Labels

Comments

@victorwoo
Copy link

Why the default template of express 4 conatins "#!/usr/bin/env node" in the head of ./bin/www?

It couldn't be recognized by JSLint, etc,.

According to this ( expressjs/express#2123 ) post, @phoenixlzx pointed out that it should be treated as shell script.

But I think it doesn't cover all node platforms, such as Windows.
So why not keep "www" as "www.js" and use normal way to design the default template?

@Fishrock123
Copy link
Contributor

See #25 -- Please search for existing issues first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants