@cley_faye/boilerplate 3.11.0 → 3.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -134,10 +134,8 @@ const getOutputToWatch = (webpackOptions, targetName) => {
|
|
|
134
134
|
if (webpackOptions.output) {
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
: [targetName];
|
|
140
|
-
return entries.map(entryName => (0, path_1.join)("dist", targetName, "js", `${entryName}.js`));
|
|
137
|
+
// Watch all output directory, since webpack generate chunks
|
|
138
|
+
return [(0, path_1.join)("dist", targetName, "js", "*.js")];
|
|
141
139
|
};
|
|
142
140
|
const getWatchTasks = (webpackOptions, targetName) => {
|
|
143
141
|
const outputToWatch = getOutputToWatch(webpackOptions, targetName);
|