This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
run with all
npm packages installed. Try it out:
run lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
$ npm -g install run
$ runjs yourcode.js
runjs will rerun server.js whenever one of the watched files is
changed. It ignores files in your
$ runjs server.js Watching /Dropbox/dev/server.js and all sub-directories not excluded by your .gitignore Found & ignored file.db ; is dotfile or has ignored extension Starting: server.js > Listening on http://localhost:8888/
No more switching to the terminal to rerun your code. Just change a file and your code will be rerun.
This is especially nice for web-servers, as you can skip the terminal and alt-tab to the browser to see your updated code happily running.
.gitignoreare not watched, neither are dotfiles.
runjs yourcode.coffee(by rockymeza)
Source at github.com/DTrejo/run.js
Ordered by date of first contribution. Auto-generated on Wed Aug 08 2012 20:27:26 GMT-0700 (PDT).