Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created October 19, 2012 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/3915800 to your computer and use it in GitHub Desktop.
Save isaacs/3915800 to your computer and use it in GitHub Desktop.
$ cat package.json
{
"name": "npm-test-start",
"version": "0.0.0",
"description": "just an npm test",
"scripts": {
"test": "exit 0",
"start": "node server.js"
},
"repository": "",
"author": "",
"license": "BSD"
}
$ cat server.js
// just a thing to keep it alive.
setInterval(function () {
console.log('still alive')
}, 1000)
$ npm start
> npm-test-start@0.0.0 start /Users/isaacs/dev/js/npm/test/packages/npm-test-start
> node server.js
still alive
still alive
still alive
^C
@isaacs
Copy link
Author

isaacs commented Oct 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment