Comparing version 0.3.1 to 0.3.2
@@ -19,2 +19,4 @@ #!/usr/bin/env node | ||
// create once, reuse as needed | ||
reEscComments = /\\#/g, | ||
reUnescapeComments = /\^\^/g, // note that '^^' is used in place of escaped comments | ||
reComments = /#.*$/, | ||
@@ -110,3 +112,3 @@ reTrim = /^(\s|\u00A0)+|(\s|\u00A0)+$/g, | ||
// remove comments and trim lines | ||
if (line = line.replace(reComments, '').replace(reTrim, '')) { | ||
if (line = line.replace(reEscComments, '^^').replace(reComments, '').replace(reUnescapeComments, '#').replace(reTrim, '')) { | ||
ignoreFiles.push(line.replace(reEscapeChars, '\\$&').replace(reAsterisk, '.*')); | ||
@@ -113,0 +115,0 @@ } |
@@ -12,4 +12,4 @@ { | ||
"keywords": ["monitor", "development", "restart", "autoload", "reload", "terminal"], | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"main": "./nodemon" | ||
} |
8380
154