Closed lukeed closed 6 years ago
I can't help but feel like all the stuff it requires negates the niceness of a CLI, especially when it ends up being ./node-v8.9.0-linux-x64/bin/node node_modules/.bin/micro --host localhost --port $PORT
haha.
Once they support v8 it'll be ok, but for now it takes just as much – if not more – lines just to run micro
than micro
itself saves.
Lol yeah, it's a bit silly in this configuration, but it is the usage pattern listed all over their README, so I think it makes sense to show how to achieve that on Lambda.
Seems like an anti-pattern to me, for what is otherwise just http.createServer()
with flag parsing for flags you wouldn't otherwise have to pass since we're just relaying the env PORT anyway
Doesn't matter to me if you discard it. Or I can change it to be Node 8.9 with programmatic.
I kept it this way because of the Slack thread & cuz of their README instructions.
yea I guess we can revise it when it becomes less of a hack! thanks man
Haha okay, ping me if I don't notice if/when it changes.
This combines the
micro
binary & a customnode-v8.9.0
binary.