diff --git a/tools/isopack-compiler.js b/tools/isopack-compiler.js index 29a36b13af..688f4e028a 100644 --- a/tools/isopack-compiler.js +++ b/tools/isopack-compiler.js @@ -222,6 +222,11 @@ var compileUnibuild = function (options) { if (unibuild.pkg.name === isopk.name) return; pluginProviderPackageNames[unibuild.pkg.name] = true; + // If other package is built from source, then we need to rebuild this + // package if any file in the other package that could define a plugin + // changes. + watchSet.merge(unibuild.pkg.pluginWatchSet); + if (_.isEmpty(unibuild.pkg.plugins)) return; activePluginPackages.push(unibuild.pkg);