Skip to content

Added a dev server run script #322

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

Merged
merged 3 commits into from
Feb 11, 2016
Merged

Conversation

gnz00
Copy link

@gnz00 gnz00 commented Feb 9, 2016

Watches for changes to files in src, transpiles using babel into lib triggering nodemon to restart the server process.

Signed-off-by: Alexander Mays <[email protected]>
@facebook-github-bot
Copy link

@maysale01 updated the pull request.


process.once('SIGINT', function() {
process.exit(0);
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a trailing \n

@flovilmart
Copy link
Contributor

You could also add in the package.json under scripts: { "dev": "./bin/dev" }

Signed-off-by: Alexander Mays <[email protected]>
@facebook-github-bot
Copy link

@maysale01 updated the pull request.

@drew-gross
Copy link
Contributor

Cool! @maysale01 Could you also add some info in CONTRIBUTING.md about how to use this? In the meantime I can still merge.

drew-gross added a commit that referenced this pull request Feb 11, 2016
Added a dev server run script
@drew-gross drew-gross merged commit 2e5fd29 into parse-community:master Feb 11, 2016
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.

4 participants