Revision | 9e825b21a2a761605099e74703069f26422fc52c (tree) |
---|---|
Time | 2017-07-17 21:51:49 |
Author | HMML <hmml3939@gmai...> |
Commiter | HMML |
Stop to run rails from guard.
@@ -27,29 +27,6 @@ guard :bundler do | ||
27 | 27 | files.each { |file| watch(helper.real_path(file)) } |
28 | 28 | end |
29 | 29 | |
30 | -# Guard-Rails supports a lot options with default values: | |
31 | -# daemon: false # runs the server as a daemon. | |
32 | -# debugger: false # enable ruby-debug gem. | |
33 | -# environment: 'development' # changes server environment. | |
34 | -# force_run: false # kills any process that's holding the listen port before attempting to (re)start Rails. | |
35 | -# pid_file: 'tmp/pids/[RAILS_ENV].pid' # specify your pid_file. | |
36 | -# host: 'localhost' # server hostname. | |
37 | -# port: 3000 # server port number. | |
38 | -# root: '/spec/dummy' # Rails' root path. | |
39 | -# server: thin # webserver engine. | |
40 | -# start_on_start: true # will start the server when starting Guard. | |
41 | -# timeout: 30 # waits untill restarting the Rails server, in seconds. | |
42 | -# zeus_plan: server # custom plan in zeus, only works with `zeus: true`. | |
43 | -# zeus: false # enables zeus gem. | |
44 | -# CLI: 'rails server' # customizes runner command. Omits all options except `pid_file`! | |
45 | - | |
46 | -guard 'rails' do | |
47 | - watch('Gemfile.lock') | |
48 | - watch(%r{^config/(application|boot|environment|[^/]+/.*)\.rb}) | |
49 | - watch(%r{^lib/.*\.rb}) | |
50 | - watch(%r{^config/[^/]+\.yml}) | |
51 | -end | |
52 | - | |
53 | 30 | # Note: The cmd option is now required due to the increasing number of ways |
54 | 31 | # rspec may be run, below are examples of the most common uses. |
55 | 32 | # * bundler: 'bundle exec rspec' |