This file is indexed.

/usr/lib/python2.7/dist-packages/livereload/cli.py is in python-livereload 2.4.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import argparse
from livereload.server import Server


parser = argparse.ArgumentParser(description='Start a `livereload` server')
parser.add_argument(
    '--host',
    help='Hostname to run `livereload` server on',
    type=str,
    default='127.0.0.1'
)
parser.add_argument(
    '-p', '--port',
    help='Port to run `livereload` server on',
    type=int,
    default=35729
)
parser.add_argument(
    'directory',
    help='Directory to watch for changes',
    type=str,
    default='.',
    nargs='?'
)


def main(argv=None):
    args = parser.parse_args()

    # Create a new application
    server = Server()
    server.watcher.watch(args.directory)
    server.serve(host=args.host, port=args.port, root=args.directory)