Skip to content

Commit

Permalink
[ember-cli-eyeglass] Add logging for asset installation via DEBUG=emb…
Browse files Browse the repository at this point in the history
…er-cli-eyeglass:assets
  • Loading branch information
chriseppstein committed Apr 11, 2019
1 parent fd18a12 commit 11686f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ember-cli-eyeglass/src/index.ts
Expand Up @@ -14,6 +14,7 @@ const debug = debugGenerator("ember-cli-eyeglass");
const debugSetup = debug.extend("setup");
const debugBuild = debug.extend("build");
const debugCache = debug.extend("cache");
const debugAssets = debug.extend("assets");

const EYEGLASS_INFO_PER_ADDON = new WeakMap<object, EyeglassAddonInfo>();
const EYEGLASS_INFO_PER_APP = new WeakMap<object, EyeglassAppInfo>();
Expand Down Expand Up @@ -207,6 +208,7 @@ const EMBER_CLI_EYEGLASS = {
}
let {app} = EYEGLASS_INFO_PER_ADDON.get(this);
let {assets} = EYEGLASS_INFO_PER_APP.get(app);
debugAssets("Will link asset %s to %s", srcFile, destUri);
return assets.ln_s(srcFile, destUri);
},

Expand Down

0 comments on commit 11686f8

Please sign in to comment.