Edit .phtml file without have to run setup:upgradeMagento 2: When should I run which commands?how to speed up static content deploy for developmentWhat is the proper way to run an UpgradeSchema.php file in Magento 2?Problem changing to Production mode - Command returned non-zero exit codeMagento 2 execute php bin/magento setup:upgrade without command promptMagento 2 setup:upgrade to update modules breaks layout and have to redeploymagento2 in production mode Nwdthemes Revslider not workingno commands defined in the “setup” namespace. in Magento2Why do i have to always run the commands to clean cache in Magento 2.1.8?Magento 2 why always need to run static content deploy every after upgrade?Magento 2 : Upgrade Data Version of custom module using setup:db-data:upgradeconnection “developer” is not defined

Is there a difference between 「目を覚ます」 and 「目覚める」

How to halve redstone signal strength?

What could prevent players from leaving an island?

Why do proponents of guns oppose gun competency tests?

Can I enter a rental property without giving notice if I'm afraid a tenant may be hurt?

How do I get the =LEFT function in excel, to also take the number zero as the first number?

Is DC heating faster than AC heating?

Who is the god Ao?

Can a Hogwarts student refuse the Sorting Hat's decision?

Repeated! Factorials!

How can glass marbles naturally occur in a desert?

Traveling from Germany to other countries by train?

Best way to explain to my boss that I cannot attend a team summit because it is on Rosh Hashana or any other Jewish Holiday

What are the examples (applications) of the MIPs in which the objective function has nonzero coefficients for only continuous variables?

Print only the last three columns from file

Pronouns when writing from the point of view of a robot

Is it true that control+alt+delete only became a thing because IBM would not build Bill Gates a computer with a task manager button?

Premier League simulation

Making pause in a diagram

Can external light meter replace the need for push/pull?

Cobb-Douglas production function with expenditures rather than units

Why should public servants be apolitical?

Is a switch from R to Python worth it?

Why does putting a dot after the URL remove login information?



Edit .phtml file without have to run setup:upgrade


Magento 2: When should I run which commands?how to speed up static content deploy for developmentWhat is the proper way to run an UpgradeSchema.php file in Magento 2?Problem changing to Production mode - Command returned non-zero exit codeMagento 2 execute php bin/magento setup:upgrade without command promptMagento 2 setup:upgrade to update modules breaks layout and have to redeploymagento2 in production mode Nwdthemes Revslider not workingno commands defined in the “setup” namespace. in Magento2Why do i have to always run the commands to clean cache in Magento 2.1.8?Magento 2 why always need to run static content deploy every after upgrade?Magento 2 : Upgrade Data Version of custom module using setup:db-data:upgradeconnection “developer” is not defined






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade to see the change. I already set my magento 2 to developer mode










share|improve this question
























  • This will help you: magento.stackexchange.com/a/184927/35758

    – Prince Patel
    Jan 11 '18 at 8:19












  • magento.stackexchange.com/a/171385/42007

    – steros
    Jan 17 '18 at 16:45

















1















I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade to see the change. I already set my magento 2 to developer mode










share|improve this question
























  • This will help you: magento.stackexchange.com/a/184927/35758

    – Prince Patel
    Jan 11 '18 at 8:19












  • magento.stackexchange.com/a/171385/42007

    – steros
    Jan 17 '18 at 16:45













1












1








1








I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade to see the change. I already set my magento 2 to developer mode










share|improve this question














I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade to see the change. I already set my magento 2 to developer mode







magento2 phtml setup-upgrade






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 11 '18 at 7:49









simple guysimple guy

1,0442 gold badges15 silver badges43 bronze badges




1,0442 gold badges15 silver badges43 bronze badges















  • This will help you: magento.stackexchange.com/a/184927/35758

    – Prince Patel
    Jan 11 '18 at 8:19












  • magento.stackexchange.com/a/171385/42007

    – steros
    Jan 17 '18 at 16:45

















  • This will help you: magento.stackexchange.com/a/184927/35758

    – Prince Patel
    Jan 11 '18 at 8:19












  • magento.stackexchange.com/a/171385/42007

    – steros
    Jan 17 '18 at 16:45
















This will help you: magento.stackexchange.com/a/184927/35758

– Prince Patel
Jan 11 '18 at 8:19






This will help you: magento.stackexchange.com/a/184927/35758

– Prince Patel
Jan 11 '18 at 8:19














magento.stackexchange.com/a/171385/42007

– steros
Jan 17 '18 at 16:45





magento.stackexchange.com/a/171385/42007

– steros
Jan 17 '18 at 16:45










3 Answers
3






active

oldest

votes


















0














Actually php bin/magento setup:upgrade is used when modules need to be upgraded.



For the case of change in .pthml files, if cache is enabled you must run php bin/magento cache:clean. This works very well for me.






share|improve this answer
































    0














    You only need to run:



    php bin/magento cache:flush


    to see changes of phtml files.



    The command php bin/magento setup:upgrade is used to deploy new modules.






    share|improve this answer



























    • yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal

      – simple guy
      Jan 11 '18 at 7:56











    • I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X

      – Lez
      Jan 11 '18 at 7:59











    • No need of static content deploy . Only cache flush is more than enough

      – Pramod Kharade
      Jan 17 '18 at 16:43


















    0














    For phtml only cache command is enough



    php bin/magento cache:flush


    No need of upgrade and static content deploy command






    share|improve this answer





























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "479"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f209019%2fedit-phtml-file-without-have-to-run-setupupgrade%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Actually php bin/magento setup:upgrade is used when modules need to be upgraded.



      For the case of change in .pthml files, if cache is enabled you must run php bin/magento cache:clean. This works very well for me.






      share|improve this answer





























        0














        Actually php bin/magento setup:upgrade is used when modules need to be upgraded.



        For the case of change in .pthml files, if cache is enabled you must run php bin/magento cache:clean. This works very well for me.






        share|improve this answer



























          0












          0








          0







          Actually php bin/magento setup:upgrade is used when modules need to be upgraded.



          For the case of change in .pthml files, if cache is enabled you must run php bin/magento cache:clean. This works very well for me.






          share|improve this answer













          Actually php bin/magento setup:upgrade is used when modules need to be upgraded.



          For the case of change in .pthml files, if cache is enabled you must run php bin/magento cache:clean. This works very well for me.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 11 '18 at 11:21









          Purushotam SangroulaPurushotam Sangroula

          1,15810 silver badges27 bronze badges




          1,15810 silver badges27 bronze badges


























              0














              You only need to run:



              php bin/magento cache:flush


              to see changes of phtml files.



              The command php bin/magento setup:upgrade is used to deploy new modules.






              share|improve this answer



























              • yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal

                – simple guy
                Jan 11 '18 at 7:56











              • I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X

                – Lez
                Jan 11 '18 at 7:59











              • No need of static content deploy . Only cache flush is more than enough

                – Pramod Kharade
                Jan 17 '18 at 16:43















              0














              You only need to run:



              php bin/magento cache:flush


              to see changes of phtml files.



              The command php bin/magento setup:upgrade is used to deploy new modules.






              share|improve this answer



























              • yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal

                – simple guy
                Jan 11 '18 at 7:56











              • I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X

                – Lez
                Jan 11 '18 at 7:59











              • No need of static content deploy . Only cache flush is more than enough

                – Pramod Kharade
                Jan 17 '18 at 16:43













              0












              0








              0







              You only need to run:



              php bin/magento cache:flush


              to see changes of phtml files.



              The command php bin/magento setup:upgrade is used to deploy new modules.






              share|improve this answer















              You only need to run:



              php bin/magento cache:flush


              to see changes of phtml files.



              The command php bin/magento setup:upgrade is used to deploy new modules.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Jan 17 '18 at 17:04

























              answered Jan 11 '18 at 7:53









              LezLez

              1,6108 silver badges32 bronze badges




              1,6108 silver badges32 bronze badges















              • yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal

                – simple guy
                Jan 11 '18 at 7:56











              • I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X

                – Lez
                Jan 11 '18 at 7:59











              • No need of static content deploy . Only cache flush is more than enough

                – Pramod Kharade
                Jan 17 '18 at 16:43

















              • yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal

                – simple guy
                Jan 11 '18 at 7:56











              • I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X

                – Lez
                Jan 11 '18 at 7:59











              • No need of static content deploy . Only cache flush is more than enough

                – Pramod Kharade
                Jan 17 '18 at 16:43
















              yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal

              – simple guy
              Jan 11 '18 at 7:56





              yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal

              – simple guy
              Jan 11 '18 at 7:56













              I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X

              – Lez
              Jan 11 '18 at 7:59





              I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X

              – Lez
              Jan 11 '18 at 7:59













              No need of static content deploy . Only cache flush is more than enough

              – Pramod Kharade
              Jan 17 '18 at 16:43





              No need of static content deploy . Only cache flush is more than enough

              – Pramod Kharade
              Jan 17 '18 at 16:43











              0














              For phtml only cache command is enough



              php bin/magento cache:flush


              No need of upgrade and static content deploy command






              share|improve this answer































                0














                For phtml only cache command is enough



                php bin/magento cache:flush


                No need of upgrade and static content deploy command






                share|improve this answer





























                  0












                  0








                  0







                  For phtml only cache command is enough



                  php bin/magento cache:flush


                  No need of upgrade and static content deploy command






                  share|improve this answer















                  For phtml only cache command is enough



                  php bin/magento cache:flush


                  No need of upgrade and static content deploy command







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 18 '18 at 7:22

























                  answered Jan 17 '18 at 16:41









                  Pramod KharadePramod Kharade

                  1,89013 silver badges29 bronze badges




                  1,89013 silver badges29 bronze badges






























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f209019%2fedit-phtml-file-without-have-to-run-setupupgrade%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                      Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?