Description
/kind bug
/priority high
odo init --name java-springboot-starter --devfile java-springboot --starter springbootproject
- edit devfile and add
hotReloadCapable: true
torun
exec
command - 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: true
torun
exec
command - install
nodemon
to projectnpm install --save-dev nodemon
- modify
package.json
and usenodemon server.js
asstart
script - 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
Type
Projects
Status
Done ✅