Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Cache is not cleared when module path contains backslash #68

Closed
codebling opened this issue Feb 9, 2016 · 1 comment
Closed

Cache is not cleared when module path contains backslash #68

codebling opened this issue Feb 9, 2016 · 1 comment

Comments

@codebling
Copy link

In development mode, we attempt to clear the require cache of all of the modules in the view directory.

On Linux, the view path may contain backslashes; on Windows, it always does. Regular expressions interpret backslashes as escape characters and because the module detection regex is built directly from the view path, no views will ever be cleared from the require cache if the path contains a backslash.

@codebling
Copy link
Author

Fix available in PR #69

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant