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 1
1
namespace :tailwindcss do
2
2
desc "Build your Tailwind CSS"
3
- task build : :environment do |_ , args |
3
+ task build : [ :environment , :engines ] do |_ , args |
4
4
debug = args . extras . include? ( "debug" )
5
5
verbose = args . extras . include? ( "verbose" )
6
6
@@ -13,7 +13,7 @@ namespace :tailwindcss do
13
13
end
14
14
15
15
desc "Watch and build your Tailwind CSS on file changes"
16
- task watch : :environment do |_ , args |
16
+ task watch : [ :environment , :engines ] do |_ , args |
17
17
debug = args . extras . include? ( "debug" )
18
18
poll = args . extras . include? ( "poll" )
19
19
always = args . extras . include? ( "always" )
@@ -34,9 +34,6 @@ namespace :tailwindcss do
34
34
end
35
35
end
36
36
37
- Rake ::Task [ "tailwindcss:build" ] . enhance ( [ "tailwindcss:engines" ] )
38
- Rake ::Task [ "tailwindcss:watch" ] . enhance ( [ "tailwindcss:engines" ] )
39
-
40
37
Rake ::Task [ "assets:precompile" ] . enhance ( [ "tailwindcss:build" ] )
41
38
42
39
if Rake ::Task . task_defined? ( "test:prepare" )
You can’t perform that action at this time.
0 commit comments