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 47f636b commit ef2ca55Copy full SHA for ef2ca55
lib/tasks/build.rake
@@ -6,10 +6,15 @@ namespace :tailwindcss do
6
system TAILWIND_COMPILE_COMMAND
7
end
8
9
- desc "Watch and build your Tailwind CSS on file changes"
+ desc "Watch and build your Tailwind CSS on file changes (using filesystem events)"
10
task :watch do
11
system "#{TAILWIND_COMPILE_COMMAND} -w"
12
13
+
14
+ desc "Watch and build your Tailwind CSS on file changes (using polling)"
15
+ task :poll do
16
+ system "#{TAILWIND_COMPILE_COMMAND} -p"
17
+ end
18
19
20
Rake::Task["assets:precompile"].enhance(["tailwindcss:build"])
0 commit comments