|
|
@ -156,7 +156,7 @@ int main(int argc, char *argv[]) |
|
|
|
fileWatcher->watch(); |
|
|
|
fileWatcher->watch(); |
|
|
|
|
|
|
|
|
|
|
|
if(listener->changes) { |
|
|
|
if(listener->changes) { |
|
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(1000)); |
|
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(100)); |
|
|
|
output(format("CHANGES! Running build {}", build_cmd)); |
|
|
|
output(format("CHANGES! Running build {}", build_cmd)); |
|
|
|
run_build(game, build_cmd); |
|
|
|
run_build(game, build_cmd); |
|
|
|
listener->reset_state(); |
|
|
|
listener->reset_state(); |
|
|
|