From f184277289ef19916c16550c52c831b9c8e86e6b Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 31 Jan 2021 18:33:35 +0100 Subject: [PATCH] use yarn instead of npm for the dev server --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 7584f85..8b4bb86 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -17,7 +17,7 @@ function serve() { return { writeBundle() { if (server) return; - server = require('child_process').spawn('npm', ['run', 'start', '--', '--dev'], { + server = require('child_process').spawn('yarn', ['start', '--', '--dev'], { stdio: ['ignore', 'inherit', 'inherit'], shell: true }); -- 2.39.5