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

test.js+browser.js+bemhtml: Правильно инвалидировать результат сборки #32

Closed
veged opened this issue Jul 11, 2013 · 3 comments
Milestone

Comments

@veged
Copy link
Collaborator

veged commented Jul 11, 2013

Сейчас технология валидируется только по файлам test.js и только по основной декларации -- в итоге не работает пересборка при изменении js и/или bemhtml файлов.

Судя по https://github.com/bem/bem-tools/blob/master/lib/nodes/build.js#L356 можно подменить transformBuildDecl и добавить в getSuffixes суффиксы всех трёх технологий. Это приведёт к несколько избыточной инвалидации, то это лучше чем недоинвалидация.

@diunko
Copy link
Contributor

diunko commented Jul 18, 2013

With techs v2 it appears to have an easy fix: bem/bem-core@9d959dc. Not sure, however, what it takes to fix it with v1.

@narqo
Copy link
Owner

narqo commented Aug 23, 2013

@veged @dfilatov

Кажется с bem-pr >= v0.3.0 работает правильно?

@dfilatov
Copy link
Collaborator

Сейчас в bem-core c v2 вроде все правильно инвалидируется.

@narqo narqo closed this as completed Sep 11, 2013
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

4 participants