next-remote-watch

Decorated local server for next.js that enables reloads from remote data changes

MPL-2.0 License

Downloads
32.8K
Stars
350
Committers
12

Bot releases are hidden (Show)

next-remote-watch - v2.0.0 Latest Release

Published by BRKalow about 2 years ago

Introduces support for next@12!

What's Changed

New Contributors

Full Changelog: https://github.com/hashicorp/next-remote-watch/compare/1.0.0...2.0.0

next-remote-watch -

Published by jescalan over 3 years ago

Adds compatibility with nextjs version 10.0.9+, removes compatibility with version 10.0.8 or below. Please upgrade with caution!

Thank you to @lukesmurray for the upgrade!

next-remote-watch -

Published by jescalan almost 4 years ago

Use body-parser on /__next_reload route only: 77e10df636538785766525023025c333d19f25cb

Thank you to @zchsh for this upgrade!

next-remote-watch -

Published by jescalan over 4 years ago

This release adds a --polling flag to change the chokidar mode. For some users this has improved performance 🚀

Commit Log

  • Add polling option to watcher: 30c54480a21fe2773355d84019df8e2d613750d7
  • Update README regarding polling flag: f1ed170c509c58de736d5c5541b29807a4830a50
next-remote-watch - v0.1.1 - switching from --command to --script

Published by kylemac over 4 years ago

⚠️ Breaking Change ⚠️
Previously we accepted a --command option which took an arbitrary shell command to run. Instead now we've dropped the use of --command and replaced it with --script. This option expects the name of a file which exports a function that we run.

Patches

  • Fix command flag example usage: 6d0a0b22c4a7a6a6e47b8c25c5b22e7877cf1637
  • Update cli to accept --script option: 155f18073de014d9b6af4b20d8511e4c3085bb3b
next-remote-watch -

Published by jescalan over 4 years ago

This release adds script and event options - see the readme for more details!

Commit Log

  • Add script and event options: 6b60cc39b57b0aeeba2ed38bbf39dcc6cb832c92
  • Rename script => command, add a test: e5cf4a496c74805869189564160d246d447775e0
  • Add a test for options.event: 4d44d7dfb66316befe9ce8de4b9ca041902944b6
  • Use diff syntax in readme: d91bac441500f0b0204c7d19053e8f7a5ba90559
next-remote-watch -

Published by jescalan over 4 years ago

Initial release! 🎉

Package Rankings
Top 2.2% on Npmjs.org