Forráskód Böngészése

Add watchman and graphql relay watch processes

Andrew Swistak 6 éve
szülő
commit
0a0c4e6f45
1 módosított fájl, 5 hozzáadás és 3 törlés
  1. 5 3
      Procfile.dev

+ 5 - 3
Procfile.dev

@@ -1,7 +1,9 @@
 # You can run these commands in separate shells
 web: rails s -p 3000
 
-# Next line runs a watch process with webpack to compile the changed files.
-# When making frequent changes to client side assets, you will prefer building webpack assets
-# upon saving rather than when you refresh your browser page.
+# Watch and continuously compile our react frontend for changing queries
+watchman: watchman watch ./app/javascript/packs/frontend/ -f
+graphql: yarn run relay --watch
+
+# Watch and coninuously compile frontend javascript
 client: './bin/webpack-dev-server'