Answer the question
In order to leave comments, you need to log in
Display view after editing?
Good day, I added an additional line to the application (site) view template with the following configuration:
front on react
back on ROR
deploy CAPISTRIANO
UNICORN+NGNIX web server
How to actually see the change without restarting the server?
Answer the question
In order to leave comments, you need to log in
By default, view is cached for performance in env other than development:
You have 2 options:
1) Reload the server (recommended option)
2) In the config, write (you need to beat hands for this):config.action_view.cache_template_loading = false
Set up capistrano with git. And deploy the site through the command line. One command was entered in the terminal and in a minute the site was updated on the server.
although you wrote about capistrano. I don't understand what is the problem...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question