Skip to content

Commit

Permalink
Only add manifest listener in watch mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
objerke committed Feb 9, 2021
1 parent a74752e commit 227e4d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/ts-dev-gauge-googlecharts/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const dev = series(build, function startWatchers(cb) {
rollupWatch("Mod", apiOptions);
watch(staticFiles, series(moveStaticFiles, updateManifest));
watch(manifestPath, updateManifest);
readExternalResourcesFromManifest();

const params = {
port: 8090,
Expand Down Expand Up @@ -245,8 +246,6 @@ async function updateManifestFiles() {
console.error(err);
}

await readExternalResourcesFromManifest();

async function filewalker(dir) {
let results = [];

Expand Down

0 comments on commit 227e4d9

Please sign in to comment.