Skip to content

Commit

Permalink
fix: also watch cjs
Browse files Browse the repository at this point in the history
Thanks to @lorand-horvath
  • Loading branch information
remy committed Jul 7, 2023
1 parent 7881f05 commit 86d5f40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const defaults = {
// nodemon.on('stdout/stderr')
stdout: true,
watchOptions: {},
ext: 'js mjs cjs json',
};

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

1 comment on commit 86d5f40

@lorand-horvath
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.