Created
October 19, 2012 01:42
-
-
Save isaacs/3915800 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nodejs/node-v0.x-archive#4166