sentry
sentry copied to clipboard
Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes
Sentry is reborn!
Following is a example: 1. i copy compiled sentry into /usr/local/bin, $PATH. 2. reproduce ```sh ╰─ $ 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...
My reasons are the same for every other CLI app ever :) Happy to provide some code for this. Regards, yb66
This is my code for now: ``` $ cat src/sentry.cr require "sentry" ``` This is the error I get: ``` $ crystal run src/sentry.cr Showing last frame. Use --error-trace for...
Via the .sentry.yml.example file: ```yml # The command used to compile the application. Setting this option to `nil` or # an empty string will act like specifying `--no-build` on the...
The install script creates a `dev` directory with the Sentry code and never cleans it up. I also think a different more random name would be better since `dev` is...
Move from OptionParser to Cli for better integration ```crystal class Watch < Sentry::SentryCommand command_name "watch" def run options.watch
Also a small change to prevent Crystal from buffering output, which occurs in some environments (docker) and is undesirable for development.
fixes #41