How can I speed up Rails development server? -
i working on rails 4.2 & angular 1.4.8 front-end. development.rb file:
rails.application.configure config.cache_classes = false config.eager_load = false config.action_controller.perform_caching = false config.action_mailer.raise_delivery_errors = false config.active_support.deprecation = :log config.active_record.migration_error = :page_load config.assets.debug = true config.assets.raise_runtime_errors = true config.action_mailer.delivery_method = :letter_opener_web config.action_mailer.default_url_options = {host: "localhost:3000"} config.consider_all_requests_local = false end
i know disabling assets.debug
can speed up, need have assets refreshed when refresh page. doing full stack can't precompile assets time.
i started using guard
guard-rails
- have chance ?
i suspect compiling assets every time after file changed.
if require
angularjs libs , other libs in application.js
try create separate file libraries , application
see also: rails 3.1 slow in development-mode because of assets, do?
Comments
Post a Comment