livereload 0.4.1
livereload: ^0.4.1 copied to clipboard
A simple web development server which supports rewrite and live-reload.
Changelog #
0.4.1 #
This package heavily relies on build_runner stdout messages. build_runner 0.7.13 changed some of the messages and broke this package. This release is a minor patch to fix the issue.
0.4.0 #
In this release, I want to heavily refactor the code and because no one is actually using the library except for its own CLI, a lot of stuff will be removed without properly deprecated.
Features #
- Change log messages to be less confusing.
Breaking Changes #
- Change CLI option from
--proxyportto--port, which should be less confusing. - Change the behavior of the default
shouldBeRewrittento rewrite any request which doesn't have a MIME type with 404 response to/. buildRunnerServefunction is removed. UseBuildRunnerServeProcessinstead.startWebSocketServerfunction is removed. UseWebSocketServerinstead.startLiveReloadWebSocketServerfunction is removed. UseLiveReloadWebSocketServerinstead.startProxyServerfunction is removed. UseProxyServerandLiveReloadProxyServerinstead.
Bug Fixes #
- Properly kill the
build_runner serveprocess and force the proxy server and the WebSocket server to close, closes #5.
0.3.0 #
rewriteAsis now deprecated. Use the newly addedrewriteTo.startLiveReloadProxyServeris now deprecated. Use the now exposedliveReloadPipelineandliveReloadSpaPipelinewithstartProxyServerinstead.injectJavaScriptnow automatically adds<script></script>.
0.2.0+1 #
- Improved the documentation.
0.2.0 #
- A script listening for reload signals is now automatically injected.
client.dartis not necessary anymore. - Some command line options have changed, e.g.
directory:port=>directory --buildport=port.
0.1.0+1 #
- Adds docs.
0.1.0 #
- Initial version.