tessel / openwrt-tessel

OpenWrt build scripts and package feed for Tessel 2
Other
32 stars 14 forks source link

Removes the need for a separate start file within the user's application #6

Closed johnnyman727 closed 9 years ago

kevinmehall commented 9 years ago

Launching through a script makes it easier to support multiple languages instead of hard-coding node. It also makes it easier to push command line arguments and environment variables.

The user shouldn't have to include it; it should be auto-generated in the form of

cd /app
export FOO=BAR
exec node index.js arg1 arg2