We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef2ca55 commit 1407827Copy full SHA for 1407827
lib/install/Procfile.dev
@@ -1,2 +1,3 @@
1
web: bin/rails server -p 3000
2
css: bin/rails tailwindcss:watch
3
+css_polling: bin/rails tailwindcss:poll
lib/install/dev
@@ -6,4 +6,18 @@ then
6
gem install foreman
7
fi
8
9
-foreman start -f Procfile.dev
+while getopts p: option
10
+do
11
+ case "${option}"
12
+ in
13
+ p)polling=1;;
14
+ *);;
15
+ esac
16
+done
17
+
18
+if [ $polling -eq 1 ]
19
+then
20
+ foreman start -f Procfile.dev -m all=1,css=0
21
+else
22
+ foreman start -f Procfile.dev -m all=1,css_polling=0
23
+fi
0 commit comments