]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
use yarn instead of npm for the dev server
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 31 Jan 2021 17:33:35 +0000 (18:33 +0100)
committermtmail <mtmail@gmx.net>
Tue, 2 Feb 2021 00:09:04 +0000 (01:09 +0100)
rollup.config.js

index 7584f85bd319d753627045a4383acb1b6a69950b..8b4bb86f3d2181db7dbad0a694e844117c991458 100644 (file)
@@ -17,7 +17,7 @@ function serve() {
        return {
                writeBundle() {
                        if (server) return;
        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
                        });
                                stdio: ['ignore', 'inherit', 'inherit'],
                                shell: true
                        });