Skip to content

Instantly share code, notes, and snippets.

@sam-github
Created January 6, 2014 21:40
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 sam-github/8290255 to your computer and use it in GitHub Desktop.
Save sam-github/8290255 to your computer and use it in GitHub Desktop.
run repl after init code
console.log('hello!')
if(require('fs').existsSync('initjs.js')) {
require('./initjs.js')
}
require('repl').start({})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment