Fix list of watch folders for electron dev build

Summary: Restart electron app if we had any server-code changes

Reviewed By: lblasa

Differential Revision: D39542169

fbshipit-source-id: fb8e335f3e3fe0cf34e57a79b96e9cc8377e9fda
This commit is contained in:
Andrey Goncharov
2022-09-15 10:02:19 -07:00
committed by Facebook GitHub Bot
parent fab4ee8c22
commit ab03140201

View File

@@ -343,11 +343,14 @@ async function startWatchChanges(io: socketIo.Server) {
await Promise.all( await Promise.all(
[ [
'app', 'app',
'pkg',
'doctor', 'doctor',
'pkg-lib',
'plugin-lib', 'plugin-lib',
'flipper-plugin',
'flipper-common', 'flipper-common',
'flipper-frontend-core',
'flipper-plugin',
'flipper-plugin-core',
'flipper-server-core',
'flipper-ui-core', 'flipper-ui-core',
].map((dir) => ].map((dir) =>
watchman.startWatchFiles( watchman.startWatchFiles(