A small node app that detect the changes in the files and run them with their executables. it can come handy to people who do alot of competative programming or leetcodes
$ node src/main.js --watch dirs/paths --ignore dirs/paths
untitled.mp4
- Blazing Fast
- Customizable configuration
- Multiple language support
- Easy setup
$ npm install -g cp-runner
then setup configuration
$ node setup.js
or
you can manually paste the config.json
content at this path
$HOME/.config/cp-runner/config.json
once installation done just type cp-watch --watch directory_name
in terminal.
For stdin create filename as input.txt
and paste your inputs there.
Result will be shown on the terminal window
- run
node setup.js
- add alias of full path of
src/main.js
in your shell profile
- cpp
- python
- node
- java
- go
Feel free to contribute 🍻