mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
chore: merge
Merge branch 'patch-2' of https://github.com/pensierinmusica/nodemon into pensierinmusica-patch-2
This commit is contained in:
@@ -73,7 +73,7 @@ function exec(nodemonOptions, execMap) {
|
||||
var options = utils.clone(nodemonOptions || {});
|
||||
var script = path.basename(options.script || '');
|
||||
var scriptExt = path.extname(script).slice(1);
|
||||
var extension = options.ext || scriptExt || 'js,json';
|
||||
var extension = options.ext || scriptExt + ',json' || 'js,json';
|
||||
var execDefined = !!options.exec;
|
||||
|
||||
// allows the user to simplify cli usage:
|
||||
|
||||
Reference in New Issue
Block a user