Browse Source

Update LiveReload.js to v3.0.0 (#730)

index-subcmd
Sam Ford Vincent Prouillet 5 years ago
parent
commit
059ca55b36
2 changed files with 2 additions and 5 deletions
  1. +1
    -1
      src/cmd/livereload.js
  2. +1
    -4
      src/cmd/serve.rs

+ 1
- 1
src/cmd/livereload.js
File diff suppressed because it is too large
View File


+ 1
- 4
src/cmd/serve.rs View File

@@ -53,10 +53,7 @@ enum ChangeKind {
Config, Config,
} }


// Uglified using uglifyjs
// Also, commenting out the lines 330-340 (containing `e instanceof ProtocolError`) was needed
// as it seems their build didn't work well and didn't include ProtocolError so it would error on
// errors
// This is dist/livereload.min.js from the LiveReload.js v3.0.0 release
const LIVE_RELOAD: &str = include_str!("livereload.js"); const LIVE_RELOAD: &str = include_str!("livereload.js");


struct ErrorFilePaths { struct ErrorFilePaths {


Loading…
Cancel
Save