codeplay
v1.1.0
Published
A simple code watcher
Downloads
5
Readme
codeplay
A simple code watcher
We write and test our code with modern tools, such as this, this, this, this, this, this and this. Sometimes, I want something lighter — just a one-liner; no configuration.
# watch working directory, run code smartly by file extension
> codeplay
# focus on some of scripts
> codeplay 'crawl-*.py'
# watch source codes, run test if they change
> codeplay -n 'src/*.js' 'node_modules/mocha/bin/mocha test/index.js'
Then, you can play with the code in your favorite editor.
Installation
npm install -g codeplay