1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00
Files
openshift-docs/modules/openshift-developer-cli-modifying-the-running-application.adoc
Yana Hontyk 21575d349b odo docs
2019-10-11 13:41:38 +00:00

42 lines
928 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/openshift_developer_cli/creating-a-multicomponent--application-with-odo.adoc
[id="modifying-the-running-application_{context}"]
= Modifying the running application
.Procedure
. Change the local directory to the front-end directory:
+
----
$ cd ~/frontend
----
. Monitor the changes on the file system using:
+
----
$ odo watch
----
. Edit the `index.html` file to change the displayed name for the game.
+
[NOTE]
====
A slight delay is possible before {odo-title} recognizes the change.
====
+
{odo-title} pushes the changes to the front-end component and prints its status to the terminal:
+
----
File /root/frontend/index.html changed
File changed
Pushing files...
✓ Waiting for component to start
✓ Copying files to component
✓ Building component
----
. Refresh the application page in the web browser. The new name is now displayed.