Skip to content

Commit

Permalink
Use PWA server for yarn start
Browse files Browse the repository at this point in the history
Summary:
Our development defaults should match the user defaults.

For anyone still wanting to test electron, use `yarn start-electron`.

Changelog: `yarn start` now launches the in-browser version of Flipper. Use `yarn start-electron` for the old behaviour.

Reviewed By: lblasa

Differential Revision: D49371369

fbshipit-source-id: a97ad1650ad851a4573fdfe52f606ac2f5a296ba
  • Loading branch information
passy authored and facebook-github-bot committed Sep 18, 2023
1 parent 0128ea0 commit 9d6c0bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"build:tsc": "tsc -b tsc-root/tsconfig.json && ./ts-node ./scripts/compute-package-checksum.tsx -d ./babel-transformer -o ./lib/checksum.txt",
"bump-versions": "./ts-node scripts/bump-versions.tsx",
"bundle-all-plugins": "./ts-node scripts/bundle-all-plugins.tsx",
"dev-server": "cross-env NODE_ENV=development ./ts-node scripts/start-dev-server.tsx",
"start-electron": "cross-env NODE_ENV=development ./ts-node scripts/start-dev-server.tsx",
"docs": "cd ../website && yarn start",
"fix": "eslint . --fix --ext .js,.ts,.tsx",
"flipper-server": "cross-env NODE_ENV=development ./ts-node scripts/start-flipper-server-dev.tsx",
Expand All @@ -157,8 +157,8 @@
"rm-modules": "rimraf **/*/node_modules node_modules",
"rm-temp": "rimraf $TMPDIR/jest* $TMPDIR/react-native-packager*",
"rm-watches": "watchman watch-del-all",
"start": "yarn dev-server --inspect=9229",
"start:break": "yarn dev-server --inspect-brk=9229",
"start": "yarn flipper-server --inspect=9229",
"start:break": "yarn flipper-server --inspect-brk=9229",
"start:no-bundled-plugins": "yarn start --no-bundled-plugins",
"test": "cross-env TZ=Pacific/Pohnpei jest",
"test:debug": "yarn build:tsc && cross-env TZ=Pacific/Pohnpei node --inspect node_modules/.bin/jest --runInBand",
Expand Down

0 comments on commit 9d6c0bd

Please sign in to comment.