Commit f9a1e7ce68e016203a2b7c929edb0440948db551
fix cache
cel committed on 2/5/2019, 8:59:32 AMParent: fb32aba68ca6fa8bb5c6aa03f81d9f3cc71a50d4
Files changed
index.js | changed |
index.js | |||
---|---|---|---|
@@ -54,8 +54,9 @@ | |||
54 | 54 … | var prevMtime = mtimes[resolved] | |
55 | 55 … | var mtime = fs.statSync(resolved).mtime.getTime() | |
56 | 56 … | if (mtime !== prevMtime) { | |
57 | 57 … | delete require.cache[resolved] | |
58 … | + mtimes[resolved] = mtime | ||
58 | 59 … | } | |
59 | 60 … | getModule(resolved, false, gotModule) | |
60 | 61 … | } catch(e) { | |
61 | 62 … | return gotError(e) |
Built with git-ssb-web