From f37fe8e45db77b0b5f84075bf1f16da62f01ea7d Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 4 Jul 2023 23:17:18 -0300 Subject: [PATCH] Update Rakefile.rb --- Rakefile.rb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Rakefile.rb b/Rakefile.rb index bb86b6f..8b6aa3d 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -34,17 +34,6 @@ rescue Interrupt s.stop end -namespace :watch do - desc "Watch for changes (server task)" - task :server do - Bundler.with_unbundled_env { Process.wait spawn("rake build") } - Listen.to(File.join(Dir.getwd, "src")) do - Bundler.with_unbundled_env { sh "rake build" } - end.start - Rake::Task["server"].invoke - end -end - namespace :lint do desc "Run rubocop (Ruby)" task :rubocop do @@ -64,4 +53,4 @@ namespace :lint do end end task lint: ["lint:rubocop", "lint:eslint"] -task default: "deploy:local" +task default: "build"