nodecpp
v0.0.6
Published
compile, run and watch main.ccp
Downloads
4
Maintainers
Readme
nodecpp
This wil compile and run main.cpp on a filechange from main.cpp
It will run:
g++ main.cpp -o main
./main
install
npm i . -g
or with npm
npm i nodecpp -g
run
You need to have a file main.cpp in the directory
#include <iostream>
int main() {
std::cout << "Hallo, nodecpp" << std::endl;
return 0;
}
than run
nodecpp
if you want to run other files
nodecpp other
Thats it. For now it will not watch other files