Erodev is a lightweight development server for Deno that assists web developers by automatically reloading HTML, CSS, and JavaScript files when they are modified. This eliminates the need to manually refresh the browser.
- Automatic Reloading: Automatically reloads your HTML, CSS, and JavaScript files when changes are detected.
- Simple Setup: Easy to configure and use.
- Lightweight: Minimal dependencies and easy on system resources.
- Cross-Platform: Works on any platform that supports Deno.
To install Erodev, ensure you have Deno installed on your system. You can install Deno from the official website.
Once Deno is installed, you can run Erodev with the following command:
deno run --allow-net --allow-read jsr:@ero/dev@^0.1.1
Alternatively, you can install using deno install
deno install --global --allow-net --allow-read -n erodev jsr:@ero/dev@^0.1.1
Now run erodev
Erodev can be started from the command line. Navigate to the root of your project directory and run:
deno run --allow-net --allow-read jsr:@ero/dev@^0.1.1
By default, Erodev will serve files from the current directory on port 5502. You can specify a different port if needed.
deno run --allow-net --allow-read jsr:@ero/dev@^0.1.1 --port=3000
You can configure Erodev using command-line options:
--port
: Specify the port to listen on (default is 5502).
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
- Fork the repository.
- Create your feature branch (git checkout -b feature/fooBar).
- Commit your changes (git commit -am 'Add some fooBar').
- Push to the branch (git push origin feature/fooBar).
- Create a new Pull Request.
Erodev is licensed under the MIT License. See the LICENSE for more information.
If you have any questions or need further assistance, feel free to reach out at email.
Thank you for using Erodev! Happy coding!