Skip to content

Commit f35205a

Browse files
authored
Merge pull request #98 from liferay/wincent/deploy-fast
docs: document "deployFast" (#97)
2 parents afff794 + bd118f4 commit f35205a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

dxp/environment.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,21 @@ javascript.log.enabled=false
3737
minifier.enabled=false
3838
```
3939

40+
### Enabling the "deployFast" task
41+
42+
```
43+
work.dir.override.enabled=true
44+
```
45+
46+
With this setting, you can make changes to JS, JSP, and CSS files and see the results without doing a full deploy:
47+
48+
```
49+
gradlew deploy # do the initial deploy
50+
gradlew deployFast -at # start the deployFast task
51+
```
52+
53+
If you make changes to other (non-JS/JSP/CSS) files, you'll need to CTRL-C the `deployFast` task and `deploy`/`deployFast -at` again, as described in [the announcement post in Loop](https://loop.liferay.com/home/-/loop/feed/19825955).
54+
4055
### Enabling telnet access to the Gogo shell
4156

4257
You can access the [Gogo shell](https://portal.liferay.dev/docs/7-2/customization/-/knowledge_base/c/using-the-felix-gogo-shell) from the web interface (Control Panel » Configuration » Gogo Shell), even in production-like environments. In development contexts, however, it is useful to enable local access via telnet:

0 commit comments

Comments
 (0)