You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because we unconditionally call symlinkOrCopySync from srcPath to destPath. But since we copy forward all files, the output path already includes foo.js when we attempt to symlink the output of transpiling foo.hbs. I think step one would be to setup a failing test in broccoli-filter with ^ as a minimal reproduction.
The solution likely either includes:
tracking when we have already written to a given dest path and just call fs.unlinkSync(destPath) before calling symlinkOrCopy.sync
use try/catch and auto-retry upon EEXIST error after unlinking
https://embercommunity.slack.com/archives/dev-ember-cli/p1481157690003118
input node includes files
foo.js
andfoo.hbs
This is because we unconditionally call
symlinkOrCopySync
fromsrcPath
todestPath
. But since we copy forward all files, the output path already includesfoo.js
when we attempt to symlink the output of transpilingfoo.hbs
. I think step one would be to setup a failing test in broccoli-filter with ^ as a minimal reproduction.The solution likely either includes:
fs.unlinkSync(destPath)
before callingsymlinkOrCopy.sync
try/catch
and auto-retry upon EEXIST error after unlinkingcc @rwjblue
The text was updated successfully, but these errors were encountered: