File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 11namespace :tailwindcss do
22 desc "Build your Tailwind CSS"
3- task build : :environment do |_ , args |
3+ task build : [ :environment , :engines ] do |_ , args |
44 debug = args . extras . include? ( "debug" )
55 verbose = args . extras . include? ( "verbose" )
66
@@ -13,7 +13,7 @@ namespace :tailwindcss do
1313 end
1414
1515 desc "Watch and build your Tailwind CSS on file changes"
16- task watch : :environment do |_ , args |
16+ task watch : [ :environment , :engines ] do |_ , args |
1717 debug = args . extras . include? ( "debug" )
1818 poll = args . extras . include? ( "poll" )
1919 always = args . extras . include? ( "always" )
@@ -34,9 +34,6 @@ namespace :tailwindcss do
3434 end
3535end
3636
37- Rake ::Task [ "tailwindcss:build" ] . enhance ( [ "tailwindcss:engines" ] )
38- Rake ::Task [ "tailwindcss:watch" ] . enhance ( [ "tailwindcss:engines" ] )
39-
4037Rake ::Task [ "assets:precompile" ] . enhance ( [ "tailwindcss:build" ] )
4138
4239if Rake ::Task . task_defined? ( "test:prepare" )
You can’t perform that action at this time.
0 commit comments