Comments (8)
Did you search existing issues? This looks related: #958
from frankenphp.
Did you search existing issues? This looks related: #958
The related issue (#958) was from him 😂
I think he just doesn't know how to use Octane and are recreating the issue in frankenphp repo
from frankenphp.
Hi,
That other thread fixed the API route when I edited the response, and when I use Postman I get the actual response, My problem here is the HMR is not working although I mentioned also in my other thread that the HMR is not working.
from frankenphp.
Could you give more details about? Your installation, watcher config etc?
from frankenphp.
here is my docker-compose and dockerfile
php:
container_name: nuxtnew
build:
context: .
dockerfile: ./docker/web.dockerfile
image: nuxtnew
ports:
- "80:80"
- "443:443"
- "443:443/udp"
- "5173:5173"
volumes:
- .:/app
entrypoint: php artisan octane:frankenphp --watch --max-requests=250 --host=larabells.local --port=443 --admin-port=2019 --https
environment:
- SERVER_NAME=larabells.local
In my dockerfile
FROM dunglas/frankenphp:1.2.3-builder-php8.3
RUN install-php-extensions \
pdo_mysql \
gd \
intl \
zip \
opcache\
pcntl\
@composer
WORKDIR /app
COPY . /app
# Install npm packages
RUN npm install
EXPOSE 5173
ENTRYPOINT ["php", "artisan", "octane:frankenphp", "--watch"]
from frankenphp.
@ezekel You need to install chokidar. According to Laravel Octane docs (https://laravel.com/docs/11.x/octane#watching-for-file-changes)
from frankenphp.
I already tried installing it inside the container and also to the dockerfile but no luck.
but I can see it to the conainer
[vite] full reload resources/views/welcome.blade.php
[vite] full reload resources/views/welcome.blade.php (x2)
from frankenphp.
I already tried installing it inside the container and also to the dockerfile but no luck.
but I can see it to the conainer
[vite] full reload resources/views/welcome.blade.php [vite] full reload resources/views/welcome.blade.php (x2)
This is vite hotreload, you need watcher configured like octane documentation.
from frankenphp.
Related Issues (20)
- [QUESTION] Is frankenphp can be use to pipelines ? HOT 6
- Missing space on webpage HOT 2
- Intermittent File Write Failures with fwrite HOT 3
- Invalid post type. error when I click on "POSTS" in teh Wordpress admin menu HOT 12
- Why do I constantly getting slower results with FrankenPHP vs php:8.3-fpm HOT 15
- Cannot rebuild static binary HOT 11
- ERROR: failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF HOT 2
- Segmentation fault In latest static version HOT 3
- 1.2.5 Not expanding (some?) Caddy's variables HOT 1
- Segmentation fault with php-vips (buffer)
- frankenphp is exiting on SIGPIPE failure HOT 3
- Call to undefined function session_save_path() after building standalone binary HOT 5
- Add binary sums in releases HOT 1
- Question: how to build a standalone frankenphp binary with Caddy cache-handler HOT 3
- curl.cainfo setting from php.ini is being ignored and thus certs aren't available to cURL HOT 20
- Allow a way to define scripts to be run regularly or as a service HOT 2
- Question: about task scheduling in laravel HOT 1
- Deploying on render.com
- XDebug toggling optimizations HOT 4
- Error after build process HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frankenphp.