|
|
@@ -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'
|