denosaurs/denon

Filter parameter to watch only a certain (glob) file/directory

cawoodm opened this issue · 0 comments

Situation
I often have 2 terminals open with denon running my tests each time I change a test tests/**/*.test.ts but only restarting my application when the actual application src/**/*.ts changes. I want to start my application and only restart it if I change source code. Currently, my application starts each time I change my tests. These are functional tests so the application must be running.

Describe the solution you'd like
A command line parameter to tell denon only to watch certain files.

Describe alternatives you've considered
I don't need a config file because I want each console to use a different filter.

Additional context
image