mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 22:46:38 +02:00
npm start uses watch mode by default
for single-build dev server the new command `npm run start:single-build` is added
This commit is contained in:
@@ -39,6 +39,8 @@ _Breaking developer changes, which may affect downstream projects or sites that
|
||||
|
||||
#### :bug: Bugfixes
|
||||
* Fix context "edit" menu on touchscreens: render labels properly and always open the touch-specific edit menu ([#9425])
|
||||
#### :hammer: Development
|
||||
* `npm start` runs in _watch_ (i.e. `npm run start:watch`) mode by default (to start the dev server in _single build_ mode one can now use `npm run start:single-build`)
|
||||
|
||||
[#9425]: https://github.com/openstreetmap/iD/issues/9425
|
||||
|
||||
|
||||
+2
-1
@@ -34,7 +34,8 @@
|
||||
"imagery": "node scripts/update_imagery.js",
|
||||
"lint": "eslint scripts test/spec modules",
|
||||
"lint:fix": "eslint scripts test/spec modules --fix",
|
||||
"start": "run-s build:js start:server",
|
||||
"start": "run-s start:watch",
|
||||
"start:single-build": "run-p build:js start:server",
|
||||
"start:watch": "run-p build:js:watch start:server",
|
||||
"start:server": "node scripts/server.js",
|
||||
"test": "npm-run-all -s lint build test:spec",
|
||||
|
||||
Reference in New Issue
Block a user