Skip to content

auto detect changes in folders and run the files with their executable.

Notifications You must be signed in to change notification settings

dwivedi-ritik/cp-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Features

  • Blazing Fast
  • Customizable configuration
  • Multiple language support
  • Easy setup

Installation

$ 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

Usages

once installation done just type cp-watch --watch directory_name in terminal.

Note

For stdin create filename as input.txt and paste your inputs there. Result will be shown on the terminal window

Setup in Linux (Optional)

  • run node setup.js
  • add alias of full path of src/main.js in your shell profile

Supported Lang

  • cpp
  • python
  • node
  • java
  • go

Feel free to contribute 🍻

About

auto detect changes in folders and run the files with their executable.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published