tsd
tsd copied to clipboard
Modify install command to perform 'reinstall' if invoked with no arguments
This should be the default; all other command line tools (bower, npm, etc) default to this behavior.
It's really annoying have to explain to people repeatedly that typescript is special and doesn't work the same way as all the other standard tools.
It should be a trivial change; instead of:
Tok:hello_world doug$ tsd install
-> an error occured!
pass at least one query pattern
VError: pass at least one query pattern
Simple detect no arguments were passed and run reinstall instead.
I started it here https://github.com/Diullei/tsd/commit/4671696899fb089340d652c10d41189693cbed84
I have just run into this myself. I noticed that gulp/tsd.js is missing. Was this removed in the most recent update of the generator? A work around for the problem was for me to run tsd reinstall
before running gulp
.