flask_boost/project/manage.py
def live():
    """Run livereload server"""
    from livereload import Server

    server = Server(app)

    map(server.watch, glob2.glob("application/pages/**/*.*"))  # pages
    map(server.watch, glob2.glob("application/macros/**/*.html"))  # macros
    map(server.watch, glob2.glob("application/static/**/*.*"))  # public assets

    server.serve(port=PORT)
def live():
    """Run livereload server"""
    from livereload import Server

    server = Server(app)

    map(server.watch, glob2.glob("application/pages/**/*.*"))  # pages
    map(server.watch, glob2.glob("application/macros/**/*.html"))  # macros
    map(server.watch, glob2.glob("application/static/**/*.*"))  # public assets

    server.serve(port=PORT)
def live ( ) : from livereload import Server server = Server ( app ) map ( server . watch , glob2 . glob ( "application/pages/**/*.*" ) ) # pages map ( server . watch , glob2 . glob ( "application/macros/**/*.html" ) ) # macros map ( server . watch , glob2 . glob ( "application/static/**/*.*" ) ) # public assets server . serve ( port = PORT )
Run livereload server
Run livereload server