autobld
autobld copied to clipboard
excludeDir flag doesn't appear to exclude watched directories
$ autobld -x node_modules/ -m '*.go' -p 3000:8080 -- bash -c 'vgo build && ./ELIDED'
2018/03/20 04:26:17 Change detection failed: Walk directories failed: open ELIDED/node_modules/@material/toolbar/dist: too many open files
To increase the limit for files that can be watched no OSX, run ulimit -n 512. The default limit is 256
(macOS)
Ah, omitting the trailing slash from node_modules did the trick.