Fix admin development

Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
soupette 2021-08-20 15:30:54 +02:00
parent 4fbd411f69
commit d8209894fa

View File

@ -264,7 +264,6 @@ async function watchAdmin({ dir, host, port, browser, options }) {
* @param {string} dir
*/
async function watchFiles(dir) {
await createCacheDir(dir);
const cacheDir = path.join(dir, '.cache');
const appExtensionFile = path.join(dir, 'admin', 'app.js');
const extensionsPath = path.join(dir, 'admin', 'extensions');