Provide feature that causes image rebuilding and deployment when files specified in configuration change. #389
Labels
area/chart-deployment
Issues related to the deployment of charts with helm
area/dev
Issues related to devspace dev
kind/feature
New feature or feature request
Is your feature request related to a problem?
Currently our development stack is nodejs based, when we change our package.json it gets synced but the changes are not applied because npm install is not re-run in the container.
We can (and do disable) the sync of package.json but we to do delete the generated.yaml to force a rebuild of the image which contains the npm install run task.
Which solution do you suggest?
Have a new image configuration section consisting of an array of file globs which on change cause the docker file to be rebuilt, the tag to be updated and the configuration to be redeployed.
or
When specific file changes are detected for sync provide a property where we can specify a script to run in the container, e.g. to cause the application running in the container to take some action (development purposes only)
Which alternative solutions exist?
Manual: Remove the generated.yaml
Additional context
/kind feature
The text was updated successfully, but these errors were encountered: