Skip to content

Conversation

@iavasquez
Copy link

Thank you for writing mean-machine. Read it and really found it useful. I used your gulpfile to create my own build workflow. In doing so, I noticed some issues / areas for improvement that I wanted to suggest to you. In order of appearance in the gulpfile:

  1. Use jshint-stylish lint reporter for better readability of jshint. You already had it in your dev-dependencies but weren't using it in the gulpfile.

  2. Split jshint tasks into separate server-side and client-side js tasks in order to use different options for error reporting ( node: true for server side js, browser: true for client side js)

  3. Nodemon task as written didn't work for me. I think the issue is that it was redundant to call the watch task from nodemon on events. Nodemon is already watching the file extensions specified and restarting every time there is an update. If you want nodemon to call tasks on restart, you can simply specify those in the "tasks" element of the options object.

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

Successfully merging this pull request may close these issues.

1 participant