liferay-osgi-watch
v2.6.6
Published
Watcher utility to help when developing on Liferay 7.0
Downloads
17
Readme
liferay-osgi-watch
Watcher utility to help when developing on Liferay 7.0
Requirements
This tool requires Node.js. I've only tested it at version 6.6.0, but it should work with newer versions. Please open an issue if you run into any problems.
Installation
[sudo] npm install -g liferay-osgi-watch
Usage
We try to stick with a zero configuration approach. In most cases, all that's needed is:
- Navigate on the command line to the osgi module you are developing
- Run command
lwatch
Since v2.0.0, we introduced an optional configuration file called .lwatch.json
that, when needed, should be placed at the root of the module's folder. The file contents are expected to be on a JSON format. An example of what configurations can be overriden can be seen here.
One example of why you would need to add this file is if you have your gogo shell running at a different port other than the default 11311. Say you have it at 11312. All you need to do is create a .lwatch.json
file with the following content:
{
"gogoPort": 11312
}
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D