wait-on is a cross-platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available
1.86k
stars
79
forks
source link
Could it wait until a directory contains files i.e. not empty? #96
Open
bytrangle opened 3 years ago
I want a build command to only run until a subdirectory contains files. Is it possible with
wait-on
? Here is what worked:Hower, this didn't work:
Even though the first one works, it's a little inflexible because the content of
popup/build
may change and no longer contains ajs
subdirectory.