Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache does't work on Windows #432

Open
shkarupa-alex opened this issue Feb 16, 2016 · 1 comment
Open

Cache does't work on Windows #432

shkarupa-alex opened this issue Feb 16, 2016 · 1 comment

Comments

@shkarupa-alex
Copy link

With multiple runs of "enb make" without changes in project enb rebuilds every tech in project.
[email protected] mac os = cache works
enb@latest mac os = cache works
[email protected] win = cache doesn't work
enb@latest win = cache doesn't work

All experiments made on https://github.com/bem/project-stub with parameters:
? Enter your project name: project-stub
? Enter a name of the project owner: Ivan Ivanov
? Enter an email of the project owner: [email protected]
? Choose a toolkit to build the project: ENB
? Specify additional libraries if needed: bem-components
? Do you want to use design of 'bem-components' library? No
? Choose redefinition levels to use: desktop
? Choose technologies to be used in the project: BEMJSON, browser.js
? Choose a template engine: BH
? Do you want to build static HTML? Yes
? Do you want to build 'tidy' HTML? Yes
? Choose types of files to be minimized: css, js

I determined that cache in method build (in any tech) on windows always have invalid cache. More precisely cache stores with one key and loads with another (i mean keys in tmp/cache.js):

module.exports = {
"project-stub/desktop.bundlesindex/index.levels": { ... },
...
"project-stub/desktop.bundles\index/index.levels": { ... },
};

@shkarupa-alex shkarupa-alex changed the title Кеширование не работает на Windows Cache does't work on Windows Feb 16, 2016
@shkarupa-alex
Copy link
Author

Fix #440

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

No branches or pull requests

1 participant