--- a/jekyll-watch.gemspec
+++ b/jekyll-watch.gemspec
@@ -13,8 +13,7 @@
   spec.homepage      = "https://github.com/jekyll/jekyll-watch"
   spec.license       = "MIT"
 
-  spec.files         = `git ls-files -z`.split("\x0").grep(%r!(bin|lib)/!)
-  spec.executables   = spec.files.grep(%r!^bin/!) { |f| File.basename(f) }
+  spec.files         = Dir["lib/**/*"]
   spec.require_paths = ["lib"]
 
   spec.required_ruby_version = ">= 2.3.0"
