Skip to content

Commit

Permalink
fix: clean client cache when feature flags change (freeCodeCamp#51285)
Browse files Browse the repository at this point in the history
  • Loading branch information
ojeytonwilliams authored Aug 16, 2023
1 parent a622414 commit b9dff03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/tools/create-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ if (FREECODECAMP_NODE_ENV !== 'development') {
) {
/* eslint-enable @typescript-eslint/no-unsafe-member-access */
console.log('Feature flags have been changed, cleaning client cache.');
const child = spawn('pnpm', ['run', 'clean:client']);
const child = spawn('pnpm', ['run', '-w', 'clean:client']);
child.stdout.setEncoding('utf8');
child.stdout.on('data', function (data) {
console.log(data);
Expand Down

0 comments on commit b9dff03

Please sign in to comment.