Skip to content

Commit 86d5f40

Browse files
committed
fix: also watch cjs
Thanks to @lorand-horvath
1 parent 7881f05 commit 86d5f40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/config/defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const defaults = {
2323
// nodemon.on('stdout/stderr')
2424
stdout: true,
2525
watchOptions: {},
26+
ext: 'js mjs cjs json',
2627
};
2728

2829
if ((process.env.NODE_OPTIONS || '').includes('--loader')) {

0 commit comments

Comments
 (0)