Command line to run when a watched file changes. For example
ant -f /home/username/dev/project/build.xml js
There is a special command line to run ant internally within this VM rather than an external process in a new VM.
internal-ant [build-file] [target1] [target2] [target3] ...
This may execute your ant scripts faster because a new process does not have to be created.
However, there are limitations:
build-file
must be the absolute path to the build filebuild-file
and target names cannot have spaces in them.Full path to the directory to watch
Indicates if we wish to watch files in sub-directories as well
Milliseconds to wait after an event for more events before a build is triggered.
If we do not wait, multiple builds may be kicked off when saving a single file. Defaults to 100
.
Command line to run when a watched file changes.
Command line to run when a watched file changes. For example
ant -f /home/username/dev/project/build.xml js
There is a special command line to run ant internally within this VM rather than an external process in a new VM.
internal-ant [build-file] [target1] [target2] [target3] ...
This may execute your ant scripts faster because a new process does not have to be created.
However, there are limitations:
build-file
must be the absolute path to the build filebuild-file
and target names cannot have spaces in them.Full path to the directory to watch
Milliseconds to wait after an event for more events before a build is triggered.
Milliseconds to wait after an event for more events before a build is triggered.
If we do not wait, multiple builds may be kicked off when saving a single file. Defaults to 100
.
Indicates if thread is still running
Indicates if thread is still running
True if thread is still, false if not
Stop watching and building.
Stop watching and building.
The thread will be terminated by exiting of the run method.
Indicates if we wish to watch files in sub-directories as well
Watches a directory and if there is a change, the build is run.
A new thread is created for watching and building.
Usage
Command line to run when a watched file changes. For example
There is a special command line to run ant internally within this VM rather than an external process in a new VM.
This may execute your ant scripts faster because a new process does not have to be created.
However, there are limitations:
build-file
must be the absolute path to the build filebuild-file
and target names cannot have spaces in them.Full path to the directory to watch
Indicates if we wish to watch files in sub-directories as well
Milliseconds to wait after an event for more events before a build is triggered. If we do not wait, multiple builds may be kicked off when saving a single file. Defaults to
100
.