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

Commit

Permalink
fix pub serve hang on reload with the web_components transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 committed Jun 15, 2015
1 parent b71655e commit 91fd997
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
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

0 comments on commit 91fd997

Please sign in to comment.