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 2e6e2c4 commit 12b66cdCopy full SHA for 12b66cd
lib/nodemon.js
@@ -180,8 +180,16 @@ function nodemon(settings) {
180
}).filter(Boolean).join(' ');
181
if (ignoring) utils.log.detail('ignoring: ' + ignoring);
182
183
- utils.log.info('watching: ' + config.options.monitor.map(function (rule) {
184
- return rule.slice(0, 1) !== '!' ? rule : false;
+ utils.log.info('watching dir(s): ' + config.options.monitor.map(function (rule) {
+ if (rule.slice(0, 1) !== '!') {
185
+ try {
186
+ rule = path.relative(process.cwd(), rule);
187
+ } catch (e) {}
188
+
189
+ return rule;
190
+ }
191
192
+ return false;
193
}).filter(Boolean).join(' '));
194
195
utils.log.detail('watching extensions: ' + (config.options.execOptions.ext || '(all)'));
0 commit comments