From: Sarah Hoffmann Date: Sun, 31 Jan 2021 17:33:35 +0000 (+0100) Subject: use yarn instead of npm for the dev server X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/f184277289ef19916c16550c52c831b9c8e86e6b?ds=sidebyside use yarn instead of npm for the dev server --- 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 });