]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
starting yarn 1.0 "--" is no longer required to forward options
authormarc tobias <mtmail@gmx.net>
Tue, 2 Feb 2021 01:41:49 +0000 (02:41 +0100)
committermarc tobias <mtmail@gmx.net>
Tue, 2 Feb 2021 01:41:49 +0000 (02:41 +0100)
rollup.config.js

index 8b4bb86f3d2181db7dbad0a694e844117c991458..6f602dd9f4adb1bb8b3d60fb037aa8b79185b2f4 100644 (file)
@@ -17,7 +17,7 @@ function serve() {
        return {
                writeBundle() {
                        if (server) return;
        return {
                writeBundle() {
                        if (server) return;
-                       server = require('child_process').spawn('yarn', ['start', '--', '--dev'], {
+                       server = require('child_process').spawn('yarn', ['start', '--dev'], {
                                stdio: ['ignore', 'inherit', 'inherit'],
                                shell: true
                        });
                                stdio: ['ignore', 'inherit', 'inherit'],
                                shell: true
                        });