Open dwjohnston opened 4 years ago
I would like to be able to run this with something like:
ts-interface-builder -o src/ti src/types/*.ts --watch
And have it continually recreate the -ti files, rather than have to run it manually.
-ti
You can do it fairly easily using the chokidar module:
chokidar src/types/*.ts -c 'ts-interface-builder -o src/ti {path}'
I would like to be able to run this with something like:
And have it continually recreate the
-ti
files, rather than have to run it manually.