-
Notifications
You must be signed in to change notification settings - Fork 904
Description
Environment
Windows 11 Pro 64 bits, node v24.12.0
Steps to Reproduce
-
Start the Motia development server:
npm run dev
-
Verify that Motia Workbench loads normally on
http://localhost:3000 -
Make any modification to a step file (e.g.,
src/hello/hello-api.step.ts) -
Observe that Motia generates compiled JavaScript files in
src/.motia/compiled/directory:- Example:
src/.motia/compiled/hello/hello-api.step.js
- Example:
-
Refresh the Workbench page in the browser
-
Observe that the compiled
.jsfiles are now displayed as separate steps in the Workbench UI
Expected Behavior
The Workbench should only display the original step files (.step.ts, .step.js, _step.py, etc.) and should ignore compiled files in the .motia/compiled/ directory. The compiled files should be used internally by Motia but should not appear as steps in the visual Workbench interface.
Actual Behavior
After refreshing the Workbench page, both the original step files and their compiled JavaScript counterparts from src/.motia/compiled/ are displayed as separate steps in the UI. This creates visual noise and confusion, as users see duplicate entries:
hello-api.step.ts(original)hello-api.step.js(compiled version from.motia/compiled/)
Relevant Logs/Console Output
- The compiled files are generated automatically when step files are modified during developmentScreenshots
Motia Version
0.17.6-beta.187
Additional Context
No response