Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

Grunt concurrent & nodemon#3

Open
rtgibbons wants to merge 3 commits intodevelopfrom
grunt-concurrent-nodemon
Open

Grunt concurrent & nodemon#3
rtgibbons wants to merge 3 commits intodevelopfrom
grunt-concurrent-nodemon

Conversation

@rtgibbons
Copy link
Copy Markdown

Adding two grunt modules, that will change the way we manage node on the dev machines.

Grunt nodemon will allow us to start the node server with our options, and even do it per environment. Nodemon can also watch (and ignore) files and when the change restart the node app. This will keep our developers form having to worry about restarting node when working on the application

Grunt concurrent allows you to run two grunt tasks at the same time. This allows us to run grunt watch and grunt nodemon at the same time, so stylus files get re-compiled and the latest javascript updates get loaded into node.

to run

grunt concurrent

Other ideas, you can run grunt concurrent:development to target just one type of nodemon, create more for other environments. Also we can create the default grunt task to run this for us, or create something like grunt development

@kengoldfarb
Copy link
Copy Markdown
Contributor

Love the idea behind this - will do some testing on it tomorrow

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants