python script to execute given command <= everytime size of a given file changes,hence everytime a file is modified.(almost)


bash command


put it in the same directory as where you are working

to execute run

  • python3 “./main.c” “gcc ./main.c && ./a.out”
  • python3 “./index.js” “node ./index.js”
  • sky is the limit with what you can do with this

now everytime you make changes to main.c or index.js, it will compile and run automatically, even errors won’t terminate it

ideally one would split screen into two parts and keep this running in one


View Github