We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e619021 commit 1addfeaCopy full SHA for 1addfea
lib/config/exec.js
@@ -155,7 +155,7 @@ function exec(nodemonOptions, execMap) {
155
// BIG NOTE: user can't do this: nodemon -e *.js
156
// because the terminal will automatically expand the glob against
157
// the file system :(
158
- extension = extension.match(/\w+/g).join(',');
+ extension = extension.match(/[^,.\s]+/g).join(',');
159
160
options.ext = extension;
161
0 commit comments