Another tweak to the entr one-liner.
dblume

dblume commited on 2021-11-18 02:40:21
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -39,7 +39,7 @@ See [this QuickFix tip for sorting results by filename](http://git.dlma.com/dotf
39 39
 
40 40
 [This entr command is handy](https://twitter.com/dblume/status/1421011043489255424) when composing interview questions without a Makefile:
41 41
 
42
-    ls -1 *.h *.cpp | entr sh -c 'g++ -Wall -std=c++14 *.cpp && valgrind --leak-check=yes ./a.out'
42
+    ls -1 *.h *.cpp | entr sh -c 'g++ -Wall -std=c++17 -pthread *.cpp && valgrind --leak-check=yes ./a.out'
43 43
 
44 44
 ### Visual Studio Code and WSL2
45 45
 
46 46