We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3909741 + 1a77010 commit c7be162Copy full SHA for c7be162
2 files changed
CHANGES.md
@@ -12,6 +12,7 @@ Fork from `node-static`
12
- Update/fix: Protect `fs.stat` calls from bad path arguments (@brpvieira)
13
- Enhancement: Allow `serverInfo` to be `null` (@martindale)
14
- Enhancement: Time display logging with leading 0 (@mauris)
15
+- Enhancement: Respect static `--cache 0` (@matthew-andrews)
16
- Optimization: 'use strict' directive
17
- Docs: Fix header example (@emmanouil)
18
- Docs: Sp. (@EdwardBetts)
bin/cli.js
@@ -88,7 +88,7 @@ if (argv.version) {
88
process.exit(0);
89
}
90
91
-if (argv.cache) {
+if ('cache' in argv) {
92
(options = options || {}).cache = argv.cache;
93
94
0 commit comments