samueleaton / sentry

Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes
MIT License
283 stars 27 forks source link

--name option not work. #62

Open zw963 opened 2 years ago

zw963 commented 2 years ago

Following is a example:

  1. i copy compiled sentry into /usr/local/bin, $PATH.

  2. reproduce


 ╰─ $ 2  ls /home/zw963/Study/Crystal/hello.cr
/home/zw963/Study/Crystal/hello.cr

 ╰─ $ \cat /home/zw963/Study/Crystal/hello.cr
loop do
  puts "hello"
  sleep 1
end

 ╰─ $ sentry -n say_hello -b 'crystal run /home/zw963/Study/Crystal/hello.cr'
🤖  Sentry error: 'name' not given and not found in shard.yml
yb66 commented 2 years ago

I get this too, I fixed it by adding a shard.yml that didn't need to be there.