NUEVA BUSQUEDA DE DATOS SRI
This commit is contained in:
14
node_modules/nodemon/lib/config/defaults.js
generated
vendored
14
node_modules/nodemon/lib/config/defaults.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
var ignoreRoot = require('ignore-by-default').directories();
|
||||
|
||||
// default options for config.options
|
||||
module.exports = {
|
||||
const defaults = {
|
||||
restartable: 'rs',
|
||||
colours: true,
|
||||
execMap: {
|
||||
@@ -12,7 +12,7 @@ module.exports = {
|
||||
// compatible with linux, mac and windows, or make the default.js
|
||||
// dynamically append the `.cmd` for node based utilities
|
||||
},
|
||||
ignoreRoot: ignoreRoot.map(_ => `**/${_}/**`),
|
||||
ignoreRoot: ignoreRoot.map((_) => `**/${_}/**`),
|
||||
watch: ['*.*'],
|
||||
stdin: true,
|
||||
runOnChangeOnly: false,
|
||||
@@ -22,7 +22,11 @@ module.exports = {
|
||||
// but also includes stderr. If this is false, data is still dispatched via
|
||||
// nodemon.on('stdout/stderr')
|
||||
stdout: true,
|
||||
watchOptions: {
|
||||
|
||||
},
|
||||
watchOptions: {},
|
||||
};
|
||||
|
||||
if ((process.env.NODE_OPTIONS || '').includes('--loader')) {
|
||||
delete defaults.execMap.ts;
|
||||
}
|
||||
|
||||
module.exports = defaults;
|
||||
|
||||
2
node_modules/nodemon/lib/config/index.js
generated
vendored
2
node_modules/nodemon/lib/config/index.js
generated
vendored
@@ -17,7 +17,7 @@ function reset() {
|
||||
rules.reset();
|
||||
|
||||
config.dirs = [];
|
||||
config.options = { ignore: [], watch: [] };
|
||||
config.options = { ignore: [], watch: [], monitor: [] };
|
||||
config.lastStarted = 0;
|
||||
config.loaded = [];
|
||||
}
|
||||
|
||||
4
node_modules/nodemon/lib/config/load.js
generated
vendored
4
node_modules/nodemon/lib/config/load.js
generated
vendored
@@ -74,7 +74,9 @@ function load(settings, options, config, callback) {
|
||||
}
|
||||
// if the script is found as a result of not being on the command
|
||||
// line, then we move any of the pre double-dash args in execArgs
|
||||
const n = options.scriptPosition || options.args.length;
|
||||
const n = options.scriptPosition === null ?
|
||||
options.args.length : options.scriptPosition;
|
||||
|
||||
options.execArgs = (options.execArgs || [])
|
||||
.concat(options.args.splice(0, n));
|
||||
options.scriptPosition = null;
|
||||
|
||||
Reference in New Issue
Block a user