1.5.0-beta.1 - Watch Mode & Deployment Support!
Pre-release
Pre-release
watch mode support! #9
add the -w
or --watch
option like this, and you will be able to use a watch mode for your portlet with live instance replacement. the only requirement is that you use vite
to build your project.
"scripts": {
"dev": "liferay-npm-bundler-improved -w"
}
note: if you didn't set the deployment variable in your
.env
file, you have to manually move the created jar file into your deployment folder, after you started the watch mode.
deployment support! #52
additionally, if you add a .env
file in your project and set the LIFERAY_DEPLOYMENT_PATH
variable, the liferay-npm-bundler-improved
will automatically deploy your created jar file into your defined folder!