-
Notifications
You must be signed in to change notification settings - Fork 72
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
Best location for server.js file? #30
Comments
Personally, I decided to just call the file |
Yes, I ended up placing it at |
Can't use `server.js`. So I chose `fastboot-server.js`. See ember-fastboot/fastboot-app-server#30
I'm closing this because of lack of activity and I'm just tired of looking at it. |
@kyleshevlin I don't mind but there is an open PR to fix it here in case #49. |
I am developing an Ember application with Fastboot and utilizing this gem. After installing the addon and creating a
server.js
file at the root of my project, the application was able to build and run on the Fastboot server properly, but creates an error when trying to run the normalember server
command.Here is the error output:
It seems that creating a server.js file in the root of your application is frowned upon based on the short conversation regarding this issue on the Ember CLI repo: ember-cli/ember-cli#2903
Thus, I would like to know what is the recommended practice for placement of the
server.js
file you ask us to add. I would like to still be able to use Ember CLI'sember server
command while in development because it comes with livereloading baked in. Running Fastboot in development is slower than I'd like to work.The text was updated successfully, but these errors were encountered: