Skip to content

Commit

Permalink
Merge pull request #4792 from alex-fournier/fix-cache-directory
Browse files Browse the repository at this point in the history
Fixes #4665: set correct cache directory path
  • Loading branch information
ndelangen authored Nov 16, 2018
2 parents e464b06 + 31250b1 commit e11617c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/core/src/server/build-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import chalk from 'chalk';
import { logger, colors } from '@storybook/node-logger';
import fetch from 'node-fetch';
import Cache from 'file-system-cache';
import findCacheDir from 'find-cache-dir';
import opn from 'opn';
import boxen from 'boxen';
import semver from 'semver';
Expand All @@ -21,6 +22,7 @@ import { getDevCli } from './cli';
const defaultFavIcon = require.resolve('./public/favicon.ico');

const cache = Cache({
basePath: findCacheDir({ name: 'storybook' }),
ns: 'storybook', // Optional. A grouping namespace for items.
});

Expand Down

0 comments on commit e11617c

Please sign in to comment.