How do I get tslint to watch for changes in a specific folder?

前端 未结 2 1200
夕颜
夕颜 2021-01-12 14:50

I am using webpack 2, and it will tell me if there are compile issues with my typescript code. However, I have not figured out a way to run tslint through it and have it run

2条回答
  •  情话喂你
    2021-01-12 15:19

    If you are using TypeScript, then you can probably use tsc -w to watch the changes.

     "scripts": {
        "start": "tsc -w",
      }
    

提交回复
热议问题