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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -