dart-archive / polymer-dart

Polymer support for Dart
https://pub.dartlang.org/packages/polymer
BSD 3-Clause "New" or "Revised" License
181 stars 33 forks source link

Pub Serve won't recover after web_components transformer fails. #661

Open aabluedragon opened 8 years ago

aabluedragon commented 8 years ago

Using WebStorm IDE (11.0.1) on a Polymer 1.0.0-rc.7 project, after certain scenarios (editing some app related code, see below patterns), the debugging session breaks and won't recover until "Pub Serve" is stopped manually, even after the code is fixed. Dart Version: 1.14.0-dev.3.0

The patterns I found so far that cause this problem are:

  1. When renaming a folder that contains used dart files, fix the import paths, it won't recover.
  2. Renaming used dart files (same as above).
  3. Add a mistyped html code to your html, such as <div/ (try to remove it, it will not recover).
jakemac53 commented 8 years ago

confirmed I can repro this with #1 and #2 above, although not with #3. Could you provide a full example for the last one as its likely similar but not directly related to the other issue?

jakemac53 commented 8 years ago

Looks like for #1 and #2 this is an issue with the resolver not getting released if there is an error during resolution, should be an easy fix.

aabluedragon commented 8 years ago

polymer_problem_#3