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
--proxyport
to--port
, which should be less confusing. - Change the behavior of the default
shouldBeRewritten
to rewrite any request which doesn't have a MIME type with 404 response to/
. buildRunnerServe
function is removed. UseBuildRunnerServeProcess
instead.startWebSocketServer
function is removed. UseWebSocketServer
instead.startLiveReloadWebSocketServer
function is removed. UseLiveReloadWebSocketServer
instead.startProxyServer
function is removed. UseProxyServer
andLiveReloadProxyServer
instead.
Bug Fixes #
- Properly kill the
build_runner serve
process and force the proxy server and the WebSocket server to close, closes #5.
0.3.0 #
rewriteAs
is now deprecated. Use the newly addedrewriteTo
.startLiveReloadProxyServer
is now deprecated. Use the now exposedliveReloadPipeline
andliveReloadSpaPipeline
withstartProxyServer
instead.injectJavaScript
now 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.dart
is 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.