-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
.nodemonwatch file #155
Comments
Or just some way to configure nodemon more specifically, like a json file. |
I would love this but I kinda cringe at adding another dotfile in the root of my projects. I like json @PhUU then you could eventually have .nodemonignore migrate to that file as well. This is kinda what Im envisioning |
@jacoblwe20 yeah, I'm not keen on adding another file either. I think some kind of automatic detection for a new format of ignore file might be on the books. |
👍 for @jacoblwe20 's JSON |
+1 |
1 similar comment
👍 |
It would be easy if it is JSON |
https://github.com/pasindud/nodemon/commit/5f863ddda2a99f83b702d80cab0946918987f5bc I did this few minutes ago which enables you to use a nodemon.json file to include ignore files, not sure whether it is correct but it works.@remy wht do u think about this? |
I will be implementing this, but giving a lot more control to the json file - rather than just another format for ignoring. |
Very much along the lines of @jacoblwe20's gist. |
+1 for config file (.json) for nodemon |
That's right, I'm dedicating time to the work this week (starting Tuesday On 21 July 2013 19:29, Pasindu De Silva [email protected] wrote:
|
My feeling is the .json should be a dotfile - only because it's the kind of thing you probably don't want in your github repos. Agree? Disagree? Please say why. |
I think every project should have its own config file A per-project config file could look like this: {
"ignore": [
":/.*\\.(js|coffee)",
"/public/*",
"/vendor/**.js"
]
} And a global config file could look like this: {
"ignore": [
"/.git/*"
"README*",
"LICENSE"
]
} |
I have to say that I usually have the .nodemonignore file in my repo's if im using it. Especially when working on a collaborative project with a team that is all using nodemon, and I think you would still need to specify that you wouldn't want to track .nodemonignore file. |
No longer needed, v1.x uses a nodemon.json config file with lots of control now. |
@PhUU (and a little bit me) requests the inverse of the .nodemonignore file.
The ignore file would take presidence, but if the watch file was there, you wouldn't have to have complicated rules on the command line all the time.
The text was updated successfully, but these errors were encountered: