Skip to content

Commit 86d5f40

Browse files
committedJul 7, 2023
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

+1
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')) {

1 commit comments

Comments
 (1)

lorand-horvath commented on Jul 7, 2023

@lorand-horvath

@remy Thanks. The original PR was here: #1957

Please sign in to comment.