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

Commit

Permalink
fix: rebuild when a used package is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jul 22, 2018
1 parent 5dec13a commit 0241620
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Bundle/Package.coffee
Expand Up @@ -183,7 +183,9 @@ class Package

# Unload the package if we own it.
if this is asset.owner
return asset._unload()
asset._unload()
@bundle._invalidate()
return

else
@bundle.emitAsync 'change', evt, this
Expand Down

0 comments on commit 0241620

Please sign in to comment.