bcherny / json-schema-to-typescript

Compile JSON Schema to TypeScript type declarations
https://bcherny.github.io/json-schema-to-typescript-browser/
MIT License
2.94k stars 391 forks source link

add watch mode #225

Open futurist opened 5 years ago

futurist commented 5 years ago

Can add watch option? in case of input json schema file changed, the ts file will up to date.

Or there're any gulp/grunt plugins?

fox1t commented 5 years ago

Checkout this: https://www.npmjs.com/package/jsonschema-to-interface Disclaimer: I am the author and it is a POC (that i use in my own projects with no problems). I think we can merge it here if works for others.

bcherny commented 5 years ago

Contributions are welcome!