Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EJS CLI -watch Option #739

Open
Ownedunkn opened this issue Jul 17, 2023 · 1 comment
Open

EJS CLI -watch Option #739

Ownedunkn opened this issue Jul 17, 2023 · 1 comment

Comments

@Ownedunkn
Copy link

Hi there, I just want to ask if there is a watch option for EJS CLI.
You know, when you save the template file, it automatically recompiles it to HTML.

It's time-consuming to type this command every time you want to output HTML.
$ ejs ./src/index.ejs -o ./index.html

@delamux
Copy link

delamux commented Dec 19, 2024

You could just Run a unit test pasing mock data to the template and match the output. This is the right watcher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants