nodejitsu/jitsu — Issue #123: Attempt to auto-find `scripts.start` file
Author: Marak
Created: 2011-11-18 15:26:33+00:00
State: open
Labels: medium-priority

Suggested by @guille -

`jitsu` should be smart enough to search the CWD for a possible `scripts.start` file instead of always just assuming the default is `server.js` and prompting to override.

Instead, we should check for an array of possible start scripts, stop on the first match, and then prompt the user with this suggested value.

For instance:

var startScripts = ['server.js', 'bin/server', 'app.js'];

The first file that `jitsu` finds, its presented to the user as the default `scripts.start` value.