You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
Why this feature is required (specific use-cases will be appreciated)?
Currently there is no way for Adonis CLI to watch for tmp, resources and public folders. Since they are hard-coded into ignore list.
It would be nice, if you can add them with --watch or files in them with --ext.
Since in underlying nodemon ignore list has power over watch list files and folders. nodemon faq
It would be especially good for .edge files development in resource files
Have you tried any other work arounds?
Tried adonis serve -w /resources/* which did not work.
Also adonis serve --dev --ext edge does not work
There is possibility to add custom script into package.json but it is not as clean as using Adonis CLI. It would require installing nodemon (or anything similar) and nodemon.json config file
Are you willing to work on it with little guidance?
Yes.
Already fixed it on my fork. Not sure if it is acceptable tho
The text was updated successfully, but these errors were encountered:
The edge files doesn't need the server to be restarted, since they are compiled on every Http request (when CACHE_VIEWS=false).
Also, the resources folder is mainly in place for frontend related code, is their any specific reason you want to start AdonisJs server when your frontend code changes.
Why this feature is required (specific use-cases will be appreciated)?
Currently there is no way for Adonis CLI to watch for
tmp
,resources
andpublic
folders. Since they are hard-coded into ignore list.It would be nice, if you can add them with
--watch
or files in them with--ext
.Since in underlying nodemon ignore list has power over watch list files and folders. nodemon faq
It would be especially good for .edge files development in resource files
Have you tried any other work arounds?
Tried
adonis serve -w /resources/*
which did not work.Also
adonis serve --dev --ext edge
does not workThere is possibility to add custom script into package.json but it is not as clean as using Adonis CLI. It would require installing nodemon (or anything similar) and nodemon.json config file
Are you willing to work on it with little guidance?
Yes.
Already fixed it on my fork. Not sure if it is acceptable tho
The text was updated successfully, but these errors were encountered: