-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
odo-devfiles/springboot-ex
#4Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).Important issue; should be worked on before any other issues (except priority/Critical issue(s)).status/blockedDenotes an issue or PR that is blocked on something (e.g., issue/PR in different repo)Denotes an issue or PR that is blocked on something (e.g., issue/PR in different repo)
Milestone
Description
/kind bug
/priority high
odo init --name java-springboot-starter --devfile java-springboot --starter springbootproject- edit devfile and add
hotReloadCapable: truetorunexeccommand - run
odo dev - edit source code
- odo should just sync files and application should automatically pick up changes, but this is not happening. When running locally with
mvn spring-boot:run(the same command devfile uses) it works correctly.
When trying similar steps with nodejs, it works as expected.
odo init --name test --devfile nodejs --starter nodejs-starter- edit devfile and add
hotReloadCapable: truetorunexeccommand - install
nodemonto projectnpm install --save-dev nodemon - modify
package.jsonand usenodemon server.jsasstartscript - run
odo dev - edit source code
- right after file sync is done you can see changes in the application
Because it works in nodejs but doesn't with springboot it looks like this is specific to springboot container.
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).Important issue; should be worked on before any other issues (except priority/Critical issue(s)).status/blockedDenotes an issue or PR that is blocked on something (e.g., issue/PR in different repo)Denotes an issue or PR that is blocked on something (e.g., issue/PR in different repo)
Type
Projects
Status
Done ✅