Skip to content
This repository has been archived by the owner on Jan 20, 2018. It is now read-only.

fix pub serve hang on reload with the web_components transformer #29

Merged
merged 1 commit into from
Jun 15, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### 0.12.0+1
* Fix hang on reload with the `web_components` transformer in pub serve,
[27](https://github.com/dart-lang/web-components/issues/27).

#### 0.12.0
* Update to js version
[0.7.3](https://github.com/webcomponents/webcomponentsjs/tree/v0.7.3).
Expand Down
2 changes: 1 addition & 1 deletion lib/build/web_components.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class WebComponentsTransformer extends Transformer {
if (options.entryPoints != null) {
return options.entryPoints.contains(id.path);
}
if (id.path == 'web/index.bootstrap.dart') return true;
// If no entry point is supplied, then any html file under web/ or test/ is
// an entry point.
return (id.path.startsWith('web/') || id.path.startsWith('test/')) &&
Expand Down Expand Up @@ -91,6 +90,7 @@ class WebComponentsTransformer extends Transformer {
transform
.addOutput(new Asset.fromString(primaryInput.id, doc.outerHtml));
transform.addOutput(bootstrap);
resolver.release();
});
});
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: web_components
version: 0.12.0
version: 0.12.0+1
author: Polymer.dart Authors <[email protected]>
homepage: https://www.dartlang.org/polymer-dart/
description: >
Expand Down