Commit 94171b21 authored by Christopher Mark Fullarton's avatar Christopher Mark Fullarton
Browse files

Adds remote data dir flag for chrome

parent e91939c4
......@@ -88,7 +88,7 @@ class GenerateImages {
generateFrontendPreview(host) {
const CHROME_BIN = process.env.CHROME_BIN;
const flags = ['--headless', '--hide-scrollbars', '--remote-debugging-port=9222', '--disable-gpu'];
const flags = ['--headless', '--hide-scrollbars', '--remote-debugging-port=9222', '--disable-gpu', '--user-data-dir=remote-profile'];
const params = [];
const themePreviewEndpoint = `${host}/preview`;
themes.forEach((theme) => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment