remy / nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development
http://nodemon.io/
MIT License
26.21k stars 1.72k forks source link

[3.0] *.ts files watch stopped to work by default #2124

Closed rentalhost closed 1 year ago

rentalhost commented 1 year ago
remy commented 1 year ago

Thanks. I suspect I know what the regression is. I'll try to get it out at the start of the week.

Is it a simple .ts file that doesn't work?

rentalhost commented 1 year ago

Yes, I just running like: nodemon src/index.ts before, it still works, but when I change .ts files it is just ignored. I believe that it must be added to:

https://github.com/remy/nodemon/blob/f219dccbf0ab9a48a3f84edb75d620e3a61a9f36/lib/config/defaults.js#L26

remy commented 1 year ago

My feeling is that the line needs to be removed.

I did test it with the listed extensions but didn't test with .ts (which is picking up the extension from the execMap).

On Sat, 8 Jul 2023, 21:20 David Rodrigues, @.***> wrote:

Yes, I just running like: nodemon src/index.ts before, it still works, but when I change .ts files it is just ignored. I believe that it must be added to:

https://github.com/remy/nodemon/blob/f219dccbf0ab9a48a3f84edb75d620e3a61a9f36/lib/config/defaults.js#L26

— Reply to this email directly, view it on GitHub https://github.com/remy/nodemon/issues/2124#issuecomment-1627482050, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADLBHQZSRFF272WZUX5UTXPG6JBANCNFSM6AAAAAA2DART7I . You are receiving this because you commented.Message ID: @.***>

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 3.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

remy commented 1 year ago

Fix is going up now.