Just recently I changed my Magento 2.2.5 to production mode. After the change, I tried to add new products and as result I needed to add few new categories to my store.
After completed adding new categories and new products to these categories, none of these items showing up in the storefront!
I am new to production mode and I like to know what this is happening? Do I need to recompile or reload the static files for my changes to work?
I appreciate your comments and recommendation.
You need to run below command to see your product and category on store front,
Run below command from root of your Magento instance,
php bin/magento indexer:reindex php bin/magento cache:flush
You don't required to do, compile and static-content:deploy command , its not necessary right now !
But you need to do reindexing as your products is not showing on the frontend so
Run below command in a sequence :
php bin/magento indexer:reindex php bin/magento cache:clean php bin/magento cahce:flush
Also as you are in production mode , so make sure you set indexing settings on product Save - not on schedule.
So if you save any product automatically indexing is done for that specific product !
so it will works !