Hello ghosts!
Sorry for my English.
Please tell me what am I doing wrong.
I use PhpStorm as an IDE. Ghost is deployed in my cloud.
Remote Host is configured in the IDE (PhpStorm), in which I launch the terminal.
Now when I’m developing a theme, I’m facing a problem.
I connect to the server in the IDE as root, run “sudo yarn dev” in the terminal as ghostmanager (the user created for Ghost ), and then start making changes to my theme.
The terminal displays the following:
[20:24:07] path_to_ghost/content/themes/mytheme/partials/icons/avatar.hbs reloaded.
[20:24:07] path_to_ghost/content/themes/mytheme/partials/icons/facebook.hbs reloaded.
[20:24:07] path_to_ghost/content/themes/mytheme/partials/icons/loader.hbs reloaded.
[20:24:07] path_to_ghost/content/themes/mytheme/partials/icons/rss.hbs reloaded.
[20:24:07] path_to_ghost/content/themes/mytheme/partials/icons/twitter.hbs reloaded.
As I see the terminal reports that it has reloaded all pages.
Changes in the file occur (checked through sftp), but the changes are applied only after I restart the ghost.
Why is this happening?
Why aren’t the changes happening like they are on my local PC (just reloading the page was enough)?